All Downloads are FREE. Search and download functionalities are using the official Maven repository.

milvus.proto.msg.Msg Maven / Gradle / Ivy

There is a newer version: 2.4.8
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: msg.proto

package milvus.proto.msg;

public final class Msg {
  private Msg() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code milvus.proto.msg.InsertDataVersion}
   */
  public enum InsertDataVersion
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * 
     * 0 must refer to row-based format, since it's the first version in Milvus.
     * 
* * RowBased = 0; */ RowBased(0), /** * ColumnBased = 1; */ ColumnBased(1), UNRECOGNIZED(-1), ; /** *
     * 0 must refer to row-based format, since it's the first version in Milvus.
     * 
* * RowBased = 0; */ public static final int RowBased_VALUE = 0; /** * ColumnBased = 1; */ public static final int ColumnBased_VALUE = 1; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static InsertDataVersion valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static InsertDataVersion forNumber(int value) { switch (value) { case 0: return RowBased; case 1: return ColumnBased; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< InsertDataVersion> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public InsertDataVersion findValueByNumber(int number) { return InsertDataVersion.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return milvus.proto.msg.Msg.getDescriptor().getEnumTypes().get(0); } private static final InsertDataVersion[] VALUES = values(); public static InsertDataVersion valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private InsertDataVersion(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:milvus.proto.msg.InsertDataVersion) } public interface InsertRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:milvus.proto.msg.InsertRequest) com.google.protobuf.MessageOrBuilder { /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ boolean hasBase(); /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ io.milvus.grpc.MsgBase getBase(); /** * .milvus.proto.common.MsgBase base = 1; */ io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder(); /** * string shardName = 2; * @return The shardName. */ java.lang.String getShardName(); /** * string shardName = 2; * @return The bytes for shardName. */ com.google.protobuf.ByteString getShardNameBytes(); /** * string db_name = 3; * @return The dbName. */ java.lang.String getDbName(); /** * string db_name = 3; * @return The bytes for dbName. */ com.google.protobuf.ByteString getDbNameBytes(); /** * string collection_name = 4; * @return The collectionName. */ java.lang.String getCollectionName(); /** * string collection_name = 4; * @return The bytes for collectionName. */ com.google.protobuf.ByteString getCollectionNameBytes(); /** * string partition_name = 5; * @return The partitionName. */ java.lang.String getPartitionName(); /** * string partition_name = 5; * @return The bytes for partitionName. */ com.google.protobuf.ByteString getPartitionNameBytes(); /** * int64 dbID = 6; * @return The dbID. */ long getDbID(); /** * int64 collectionID = 7; * @return The collectionID. */ long getCollectionID(); /** * int64 partitionID = 8; * @return The partitionID. */ long getPartitionID(); /** * int64 segmentID = 9; * @return The segmentID. */ long getSegmentID(); /** * repeated uint64 timestamps = 10; * @return A list containing the timestamps. */ java.util.List getTimestampsList(); /** * repeated uint64 timestamps = 10; * @return The count of timestamps. */ int getTimestampsCount(); /** * repeated uint64 timestamps = 10; * @param index The index of the element to return. * @return The timestamps at the given index. */ long getTimestamps(int index); /** * repeated int64 rowIDs = 11; * @return A list containing the rowIDs. */ java.util.List getRowIDsList(); /** * repeated int64 rowIDs = 11; * @return The count of rowIDs. */ int getRowIDsCount(); /** * repeated int64 rowIDs = 11; * @param index The index of the element to return. * @return The rowIDs at the given index. */ long getRowIDs(int index); /** *
     * row_data was reserved for compatibility
     * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ java.util.List getRowDataList(); /** *
     * row_data was reserved for compatibility
     * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ io.milvus.grpc.Blob getRowData(int index); /** *
     * row_data was reserved for compatibility
     * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ int getRowDataCount(); /** *
     * row_data was reserved for compatibility
     * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ java.util.List getRowDataOrBuilderList(); /** *
     * row_data was reserved for compatibility
     * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ io.milvus.grpc.BlobOrBuilder getRowDataOrBuilder( int index); /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ java.util.List getFieldsDataList(); /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ io.milvus.grpc.FieldData getFieldsData(int index); /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ int getFieldsDataCount(); /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ java.util.List getFieldsDataOrBuilderList(); /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ io.milvus.grpc.FieldDataOrBuilder getFieldsDataOrBuilder( int index); /** * uint64 num_rows = 14; * @return The numRows. */ long getNumRows(); /** * .milvus.proto.msg.InsertDataVersion version = 15; * @return The enum numeric value on the wire for version. */ int getVersionValue(); /** * .milvus.proto.msg.InsertDataVersion version = 15; * @return The version. */ milvus.proto.msg.Msg.InsertDataVersion getVersion(); } /** * Protobuf type {@code milvus.proto.msg.InsertRequest} */ public static final class InsertRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:milvus.proto.msg.InsertRequest) InsertRequestOrBuilder { private static final long serialVersionUID = 0L; // Use InsertRequest.newBuilder() to construct. private InsertRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private InsertRequest() { shardName_ = ""; dbName_ = ""; collectionName_ = ""; partitionName_ = ""; timestamps_ = emptyLongList(); rowIDs_ = emptyLongList(); rowData_ = java.util.Collections.emptyList(); fieldsData_ = java.util.Collections.emptyList(); version_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new InsertRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_InsertRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_InsertRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( milvus.proto.msg.Msg.InsertRequest.class, milvus.proto.msg.Msg.InsertRequest.Builder.class); } private int bitField0_; public static final int BASE_FIELD_NUMBER = 1; private io.milvus.grpc.MsgBase base_; /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ @java.lang.Override public boolean hasBase() { return ((bitField0_ & 0x00000001) != 0); } /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ @java.lang.Override public io.milvus.grpc.MsgBase getBase() { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } /** * .milvus.proto.common.MsgBase base = 1; */ @java.lang.Override public io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder() { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } public static final int SHARDNAME_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object shardName_ = ""; /** * string shardName = 2; * @return The shardName. */ @java.lang.Override public java.lang.String getShardName() { java.lang.Object ref = shardName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); shardName_ = s; return s; } } /** * string shardName = 2; * @return The bytes for shardName. */ @java.lang.Override public com.google.protobuf.ByteString getShardNameBytes() { java.lang.Object ref = shardName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shardName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DB_NAME_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object dbName_ = ""; /** * string db_name = 3; * @return The dbName. */ @java.lang.Override public java.lang.String getDbName() { java.lang.Object ref = dbName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dbName_ = s; return s; } } /** * string db_name = 3; * @return The bytes for dbName. */ @java.lang.Override public com.google.protobuf.ByteString getDbNameBytes() { java.lang.Object ref = dbName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dbName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COLLECTION_NAME_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object collectionName_ = ""; /** * string collection_name = 4; * @return The collectionName. */ @java.lang.Override public java.lang.String getCollectionName() { java.lang.Object ref = collectionName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionName_ = s; return s; } } /** * string collection_name = 4; * @return The bytes for collectionName. */ @java.lang.Override public com.google.protobuf.ByteString getCollectionNameBytes() { java.lang.Object ref = collectionName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); collectionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PARTITION_NAME_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object partitionName_ = ""; /** * string partition_name = 5; * @return The partitionName. */ @java.lang.Override public java.lang.String getPartitionName() { java.lang.Object ref = partitionName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partitionName_ = s; return s; } } /** * string partition_name = 5; * @return The bytes for partitionName. */ @java.lang.Override public com.google.protobuf.ByteString getPartitionNameBytes() { java.lang.Object ref = partitionName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); partitionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DBID_FIELD_NUMBER = 6; private long dbID_ = 0L; /** * int64 dbID = 6; * @return The dbID. */ @java.lang.Override public long getDbID() { return dbID_; } public static final int COLLECTIONID_FIELD_NUMBER = 7; private long collectionID_ = 0L; /** * int64 collectionID = 7; * @return The collectionID. */ @java.lang.Override public long getCollectionID() { return collectionID_; } public static final int PARTITIONID_FIELD_NUMBER = 8; private long partitionID_ = 0L; /** * int64 partitionID = 8; * @return The partitionID. */ @java.lang.Override public long getPartitionID() { return partitionID_; } public static final int SEGMENTID_FIELD_NUMBER = 9; private long segmentID_ = 0L; /** * int64 segmentID = 9; * @return The segmentID. */ @java.lang.Override public long getSegmentID() { return segmentID_; } public static final int TIMESTAMPS_FIELD_NUMBER = 10; @SuppressWarnings("serial") private com.google.protobuf.Internal.LongList timestamps_ = emptyLongList(); /** * repeated uint64 timestamps = 10; * @return A list containing the timestamps. */ @java.lang.Override public java.util.List getTimestampsList() { return timestamps_; } /** * repeated uint64 timestamps = 10; * @return The count of timestamps. */ public int getTimestampsCount() { return timestamps_.size(); } /** * repeated uint64 timestamps = 10; * @param index The index of the element to return. * @return The timestamps at the given index. */ public long getTimestamps(int index) { return timestamps_.getLong(index); } private int timestampsMemoizedSerializedSize = -1; public static final int ROWIDS_FIELD_NUMBER = 11; @SuppressWarnings("serial") private com.google.protobuf.Internal.LongList rowIDs_ = emptyLongList(); /** * repeated int64 rowIDs = 11; * @return A list containing the rowIDs. */ @java.lang.Override public java.util.List getRowIDsList() { return rowIDs_; } /** * repeated int64 rowIDs = 11; * @return The count of rowIDs. */ public int getRowIDsCount() { return rowIDs_.size(); } /** * repeated int64 rowIDs = 11; * @param index The index of the element to return. * @return The rowIDs at the given index. */ public long getRowIDs(int index) { return rowIDs_.getLong(index); } private int rowIDsMemoizedSerializedSize = -1; public static final int ROW_DATA_FIELD_NUMBER = 12; @SuppressWarnings("serial") private java.util.List rowData_; /** *
     * row_data was reserved for compatibility
     * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ @java.lang.Override public java.util.List getRowDataList() { return rowData_; } /** *
     * row_data was reserved for compatibility
     * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ @java.lang.Override public java.util.List getRowDataOrBuilderList() { return rowData_; } /** *
     * row_data was reserved for compatibility
     * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ @java.lang.Override public int getRowDataCount() { return rowData_.size(); } /** *
     * row_data was reserved for compatibility
     * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ @java.lang.Override public io.milvus.grpc.Blob getRowData(int index) { return rowData_.get(index); } /** *
     * row_data was reserved for compatibility
     * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ @java.lang.Override public io.milvus.grpc.BlobOrBuilder getRowDataOrBuilder( int index) { return rowData_.get(index); } public static final int FIELDS_DATA_FIELD_NUMBER = 13; @SuppressWarnings("serial") private java.util.List fieldsData_; /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ @java.lang.Override public java.util.List getFieldsDataList() { return fieldsData_; } /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ @java.lang.Override public java.util.List getFieldsDataOrBuilderList() { return fieldsData_; } /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ @java.lang.Override public int getFieldsDataCount() { return fieldsData_.size(); } /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ @java.lang.Override public io.milvus.grpc.FieldData getFieldsData(int index) { return fieldsData_.get(index); } /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ @java.lang.Override public io.milvus.grpc.FieldDataOrBuilder getFieldsDataOrBuilder( int index) { return fieldsData_.get(index); } public static final int NUM_ROWS_FIELD_NUMBER = 14; private long numRows_ = 0L; /** * uint64 num_rows = 14; * @return The numRows. */ @java.lang.Override public long getNumRows() { return numRows_; } public static final int VERSION_FIELD_NUMBER = 15; private int version_ = 0; /** * .milvus.proto.msg.InsertDataVersion version = 15; * @return The enum numeric value on the wire for version. */ @java.lang.Override public int getVersionValue() { return version_; } /** * .milvus.proto.msg.InsertDataVersion version = 15; * @return The version. */ @java.lang.Override public milvus.proto.msg.Msg.InsertDataVersion getVersion() { milvus.proto.msg.Msg.InsertDataVersion result = milvus.proto.msg.Msg.InsertDataVersion.forNumber(version_); return result == null ? milvus.proto.msg.Msg.InsertDataVersion.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getBase()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, shardName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dbName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, dbName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collectionName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, collectionName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, partitionName_); } if (dbID_ != 0L) { output.writeInt64(6, dbID_); } if (collectionID_ != 0L) { output.writeInt64(7, collectionID_); } if (partitionID_ != 0L) { output.writeInt64(8, partitionID_); } if (segmentID_ != 0L) { output.writeInt64(9, segmentID_); } if (getTimestampsList().size() > 0) { output.writeUInt32NoTag(82); output.writeUInt32NoTag(timestampsMemoizedSerializedSize); } for (int i = 0; i < timestamps_.size(); i++) { output.writeUInt64NoTag(timestamps_.getLong(i)); } if (getRowIDsList().size() > 0) { output.writeUInt32NoTag(90); output.writeUInt32NoTag(rowIDsMemoizedSerializedSize); } for (int i = 0; i < rowIDs_.size(); i++) { output.writeInt64NoTag(rowIDs_.getLong(i)); } for (int i = 0; i < rowData_.size(); i++) { output.writeMessage(12, rowData_.get(i)); } for (int i = 0; i < fieldsData_.size(); i++) { output.writeMessage(13, fieldsData_.get(i)); } if (numRows_ != 0L) { output.writeUInt64(14, numRows_); } if (version_ != milvus.proto.msg.Msg.InsertDataVersion.RowBased.getNumber()) { output.writeEnum(15, version_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getBase()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, shardName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dbName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, dbName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collectionName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, collectionName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, partitionName_); } if (dbID_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, dbID_); } if (collectionID_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, collectionID_); } if (partitionID_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, partitionID_); } if (segmentID_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(9, segmentID_); } { int dataSize = 0; for (int i = 0; i < timestamps_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt64SizeNoTag(timestamps_.getLong(i)); } size += dataSize; if (!getTimestampsList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } timestampsMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < rowIDs_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(rowIDs_.getLong(i)); } size += dataSize; if (!getRowIDsList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } rowIDsMemoizedSerializedSize = dataSize; } for (int i = 0; i < rowData_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, rowData_.get(i)); } for (int i = 0; i < fieldsData_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, fieldsData_.get(i)); } if (numRows_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(14, numRows_); } if (version_ != milvus.proto.msg.Msg.InsertDataVersion.RowBased.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(15, version_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof milvus.proto.msg.Msg.InsertRequest)) { return super.equals(obj); } milvus.proto.msg.Msg.InsertRequest other = (milvus.proto.msg.Msg.InsertRequest) obj; if (hasBase() != other.hasBase()) return false; if (hasBase()) { if (!getBase() .equals(other.getBase())) return false; } if (!getShardName() .equals(other.getShardName())) return false; if (!getDbName() .equals(other.getDbName())) return false; if (!getCollectionName() .equals(other.getCollectionName())) return false; if (!getPartitionName() .equals(other.getPartitionName())) return false; if (getDbID() != other.getDbID()) return false; if (getCollectionID() != other.getCollectionID()) return false; if (getPartitionID() != other.getPartitionID()) return false; if (getSegmentID() != other.getSegmentID()) return false; if (!getTimestampsList() .equals(other.getTimestampsList())) return false; if (!getRowIDsList() .equals(other.getRowIDsList())) return false; if (!getRowDataList() .equals(other.getRowDataList())) return false; if (!getFieldsDataList() .equals(other.getFieldsDataList())) return false; if (getNumRows() != other.getNumRows()) return false; if (version_ != other.version_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasBase()) { hash = (37 * hash) + BASE_FIELD_NUMBER; hash = (53 * hash) + getBase().hashCode(); } hash = (37 * hash) + SHARDNAME_FIELD_NUMBER; hash = (53 * hash) + getShardName().hashCode(); hash = (37 * hash) + DB_NAME_FIELD_NUMBER; hash = (53 * hash) + getDbName().hashCode(); hash = (37 * hash) + COLLECTION_NAME_FIELD_NUMBER; hash = (53 * hash) + getCollectionName().hashCode(); hash = (37 * hash) + PARTITION_NAME_FIELD_NUMBER; hash = (53 * hash) + getPartitionName().hashCode(); hash = (37 * hash) + DBID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDbID()); hash = (37 * hash) + COLLECTIONID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCollectionID()); hash = (37 * hash) + PARTITIONID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPartitionID()); hash = (37 * hash) + SEGMENTID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSegmentID()); if (getTimestampsCount() > 0) { hash = (37 * hash) + TIMESTAMPS_FIELD_NUMBER; hash = (53 * hash) + getTimestampsList().hashCode(); } if (getRowIDsCount() > 0) { hash = (37 * hash) + ROWIDS_FIELD_NUMBER; hash = (53 * hash) + getRowIDsList().hashCode(); } if (getRowDataCount() > 0) { hash = (37 * hash) + ROW_DATA_FIELD_NUMBER; hash = (53 * hash) + getRowDataList().hashCode(); } if (getFieldsDataCount() > 0) { hash = (37 * hash) + FIELDS_DATA_FIELD_NUMBER; hash = (53 * hash) + getFieldsDataList().hashCode(); } hash = (37 * hash) + NUM_ROWS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNumRows()); hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + version_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static milvus.proto.msg.Msg.InsertRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.InsertRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.InsertRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.InsertRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.InsertRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.InsertRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.InsertRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.InsertRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static milvus.proto.msg.Msg.InsertRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.InsertRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static milvus.proto.msg.Msg.InsertRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.InsertRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(milvus.proto.msg.Msg.InsertRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code milvus.proto.msg.InsertRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:milvus.proto.msg.InsertRequest) milvus.proto.msg.Msg.InsertRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_InsertRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_InsertRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( milvus.proto.msg.Msg.InsertRequest.class, milvus.proto.msg.Msg.InsertRequest.Builder.class); } // Construct using milvus.proto.msg.Msg.InsertRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBaseFieldBuilder(); getRowDataFieldBuilder(); getFieldsDataFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; base_ = null; if (baseBuilder_ != null) { baseBuilder_.dispose(); baseBuilder_ = null; } shardName_ = ""; dbName_ = ""; collectionName_ = ""; partitionName_ = ""; dbID_ = 0L; collectionID_ = 0L; partitionID_ = 0L; segmentID_ = 0L; timestamps_ = emptyLongList(); rowIDs_ = emptyLongList(); if (rowDataBuilder_ == null) { rowData_ = java.util.Collections.emptyList(); } else { rowData_ = null; rowDataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); if (fieldsDataBuilder_ == null) { fieldsData_ = java.util.Collections.emptyList(); } else { fieldsData_ = null; fieldsDataBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00001000); numRows_ = 0L; version_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_InsertRequest_descriptor; } @java.lang.Override public milvus.proto.msg.Msg.InsertRequest getDefaultInstanceForType() { return milvus.proto.msg.Msg.InsertRequest.getDefaultInstance(); } @java.lang.Override public milvus.proto.msg.Msg.InsertRequest build() { milvus.proto.msg.Msg.InsertRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public milvus.proto.msg.Msg.InsertRequest buildPartial() { milvus.proto.msg.Msg.InsertRequest result = new milvus.proto.msg.Msg.InsertRequest(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(milvus.proto.msg.Msg.InsertRequest result) { if (rowDataBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0)) { rowData_ = java.util.Collections.unmodifiableList(rowData_); bitField0_ = (bitField0_ & ~0x00000800); } result.rowData_ = rowData_; } else { result.rowData_ = rowDataBuilder_.build(); } if (fieldsDataBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0)) { fieldsData_ = java.util.Collections.unmodifiableList(fieldsData_); bitField0_ = (bitField0_ & ~0x00001000); } result.fieldsData_ = fieldsData_; } else { result.fieldsData_ = fieldsDataBuilder_.build(); } } private void buildPartial0(milvus.proto.msg.Msg.InsertRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.base_ = baseBuilder_ == null ? base_ : baseBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.shardName_ = shardName_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.dbName_ = dbName_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.collectionName_ = collectionName_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.partitionName_ = partitionName_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.dbID_ = dbID_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.collectionID_ = collectionID_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.partitionID_ = partitionID_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.segmentID_ = segmentID_; } if (((from_bitField0_ & 0x00000200) != 0)) { timestamps_.makeImmutable(); result.timestamps_ = timestamps_; } if (((from_bitField0_ & 0x00000400) != 0)) { rowIDs_.makeImmutable(); result.rowIDs_ = rowIDs_; } if (((from_bitField0_ & 0x00002000) != 0)) { result.numRows_ = numRows_; } if (((from_bitField0_ & 0x00004000) != 0)) { result.version_ = version_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof milvus.proto.msg.Msg.InsertRequest) { return mergeFrom((milvus.proto.msg.Msg.InsertRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(milvus.proto.msg.Msg.InsertRequest other) { if (other == milvus.proto.msg.Msg.InsertRequest.getDefaultInstance()) return this; if (other.hasBase()) { mergeBase(other.getBase()); } if (!other.getShardName().isEmpty()) { shardName_ = other.shardName_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getDbName().isEmpty()) { dbName_ = other.dbName_; bitField0_ |= 0x00000004; onChanged(); } if (!other.getCollectionName().isEmpty()) { collectionName_ = other.collectionName_; bitField0_ |= 0x00000008; onChanged(); } if (!other.getPartitionName().isEmpty()) { partitionName_ = other.partitionName_; bitField0_ |= 0x00000010; onChanged(); } if (other.getDbID() != 0L) { setDbID(other.getDbID()); } if (other.getCollectionID() != 0L) { setCollectionID(other.getCollectionID()); } if (other.getPartitionID() != 0L) { setPartitionID(other.getPartitionID()); } if (other.getSegmentID() != 0L) { setSegmentID(other.getSegmentID()); } if (!other.timestamps_.isEmpty()) { if (timestamps_.isEmpty()) { timestamps_ = other.timestamps_; timestamps_.makeImmutable(); bitField0_ |= 0x00000200; } else { ensureTimestampsIsMutable(); timestamps_.addAll(other.timestamps_); } onChanged(); } if (!other.rowIDs_.isEmpty()) { if (rowIDs_.isEmpty()) { rowIDs_ = other.rowIDs_; rowIDs_.makeImmutable(); bitField0_ |= 0x00000400; } else { ensureRowIDsIsMutable(); rowIDs_.addAll(other.rowIDs_); } onChanged(); } if (rowDataBuilder_ == null) { if (!other.rowData_.isEmpty()) { if (rowData_.isEmpty()) { rowData_ = other.rowData_; bitField0_ = (bitField0_ & ~0x00000800); } else { ensureRowDataIsMutable(); rowData_.addAll(other.rowData_); } onChanged(); } } else { if (!other.rowData_.isEmpty()) { if (rowDataBuilder_.isEmpty()) { rowDataBuilder_.dispose(); rowDataBuilder_ = null; rowData_ = other.rowData_; bitField0_ = (bitField0_ & ~0x00000800); rowDataBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRowDataFieldBuilder() : null; } else { rowDataBuilder_.addAllMessages(other.rowData_); } } } if (fieldsDataBuilder_ == null) { if (!other.fieldsData_.isEmpty()) { if (fieldsData_.isEmpty()) { fieldsData_ = other.fieldsData_; bitField0_ = (bitField0_ & ~0x00001000); } else { ensureFieldsDataIsMutable(); fieldsData_.addAll(other.fieldsData_); } onChanged(); } } else { if (!other.fieldsData_.isEmpty()) { if (fieldsDataBuilder_.isEmpty()) { fieldsDataBuilder_.dispose(); fieldsDataBuilder_ = null; fieldsData_ = other.fieldsData_; bitField0_ = (bitField0_ & ~0x00001000); fieldsDataBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFieldsDataFieldBuilder() : null; } else { fieldsDataBuilder_.addAllMessages(other.fieldsData_); } } } if (other.getNumRows() != 0L) { setNumRows(other.getNumRows()); } if (other.version_ != 0) { setVersionValue(other.getVersionValue()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getBaseFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { shardName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { dbName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { collectionName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 case 42: { partitionName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000010; break; } // case 42 case 48: { dbID_ = input.readInt64(); bitField0_ |= 0x00000020; break; } // case 48 case 56: { collectionID_ = input.readInt64(); bitField0_ |= 0x00000040; break; } // case 56 case 64: { partitionID_ = input.readInt64(); bitField0_ |= 0x00000080; break; } // case 64 case 72: { segmentID_ = input.readInt64(); bitField0_ |= 0x00000100; break; } // case 72 case 80: { long v = input.readUInt64(); ensureTimestampsIsMutable(); timestamps_.addLong(v); break; } // case 80 case 82: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); ensureTimestampsIsMutable(); while (input.getBytesUntilLimit() > 0) { timestamps_.addLong(input.readUInt64()); } input.popLimit(limit); break; } // case 82 case 88: { long v = input.readInt64(); ensureRowIDsIsMutable(); rowIDs_.addLong(v); break; } // case 88 case 90: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); ensureRowIDsIsMutable(); while (input.getBytesUntilLimit() > 0) { rowIDs_.addLong(input.readInt64()); } input.popLimit(limit); break; } // case 90 case 98: { io.milvus.grpc.Blob m = input.readMessage( io.milvus.grpc.Blob.parser(), extensionRegistry); if (rowDataBuilder_ == null) { ensureRowDataIsMutable(); rowData_.add(m); } else { rowDataBuilder_.addMessage(m); } break; } // case 98 case 106: { io.milvus.grpc.FieldData m = input.readMessage( io.milvus.grpc.FieldData.parser(), extensionRegistry); if (fieldsDataBuilder_ == null) { ensureFieldsDataIsMutable(); fieldsData_.add(m); } else { fieldsDataBuilder_.addMessage(m); } break; } // case 106 case 112: { numRows_ = input.readUInt64(); bitField0_ |= 0x00002000; break; } // case 112 case 120: { version_ = input.readEnum(); bitField0_ |= 0x00004000; break; } // case 120 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private io.milvus.grpc.MsgBase base_; private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder> baseBuilder_; /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ public boolean hasBase() { return ((bitField0_ & 0x00000001) != 0); } /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ public io.milvus.grpc.MsgBase getBase() { if (baseBuilder_ == null) { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } else { return baseBuilder_.getMessage(); } } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder setBase(io.milvus.grpc.MsgBase value) { if (baseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } base_ = value; } else { baseBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder setBase( io.milvus.grpc.MsgBase.Builder builderForValue) { if (baseBuilder_ == null) { base_ = builderForValue.build(); } else { baseBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder mergeBase(io.milvus.grpc.MsgBase value) { if (baseBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && base_ != null && base_ != io.milvus.grpc.MsgBase.getDefaultInstance()) { getBaseBuilder().mergeFrom(value); } else { base_ = value; } } else { baseBuilder_.mergeFrom(value); } if (base_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder clearBase() { bitField0_ = (bitField0_ & ~0x00000001); base_ = null; if (baseBuilder_ != null) { baseBuilder_.dispose(); baseBuilder_ = null; } onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public io.milvus.grpc.MsgBase.Builder getBaseBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBaseFieldBuilder().getBuilder(); } /** * .milvus.proto.common.MsgBase base = 1; */ public io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder() { if (baseBuilder_ != null) { return baseBuilder_.getMessageOrBuilder(); } else { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } } /** * .milvus.proto.common.MsgBase base = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder> getBaseFieldBuilder() { if (baseBuilder_ == null) { baseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder>( getBase(), getParentForChildren(), isClean()); base_ = null; } return baseBuilder_; } private java.lang.Object shardName_ = ""; /** * string shardName = 2; * @return The shardName. */ public java.lang.String getShardName() { java.lang.Object ref = shardName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); shardName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string shardName = 2; * @return The bytes for shardName. */ public com.google.protobuf.ByteString getShardNameBytes() { java.lang.Object ref = shardName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shardName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string shardName = 2; * @param value The shardName to set. * @return This builder for chaining. */ public Builder setShardName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } shardName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * string shardName = 2; * @return This builder for chaining. */ public Builder clearShardName() { shardName_ = getDefaultInstance().getShardName(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * string shardName = 2; * @param value The bytes for shardName to set. * @return This builder for chaining. */ public Builder setShardNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); shardName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object dbName_ = ""; /** * string db_name = 3; * @return The dbName. */ public java.lang.String getDbName() { java.lang.Object ref = dbName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dbName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string db_name = 3; * @return The bytes for dbName. */ public com.google.protobuf.ByteString getDbNameBytes() { java.lang.Object ref = dbName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dbName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string db_name = 3; * @param value The dbName to set. * @return This builder for chaining. */ public Builder setDbName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } dbName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * string db_name = 3; * @return This builder for chaining. */ public Builder clearDbName() { dbName_ = getDefaultInstance().getDbName(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * string db_name = 3; * @param value The bytes for dbName to set. * @return This builder for chaining. */ public Builder setDbNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dbName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.lang.Object collectionName_ = ""; /** * string collection_name = 4; * @return The collectionName. */ public java.lang.String getCollectionName() { java.lang.Object ref = collectionName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string collection_name = 4; * @return The bytes for collectionName. */ public com.google.protobuf.ByteString getCollectionNameBytes() { java.lang.Object ref = collectionName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); collectionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string collection_name = 4; * @param value The collectionName to set. * @return This builder for chaining. */ public Builder setCollectionName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } collectionName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * string collection_name = 4; * @return This builder for chaining. */ public Builder clearCollectionName() { collectionName_ = getDefaultInstance().getCollectionName(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** * string collection_name = 4; * @param value The bytes for collectionName to set. * @return This builder for chaining. */ public Builder setCollectionNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); collectionName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private java.lang.Object partitionName_ = ""; /** * string partition_name = 5; * @return The partitionName. */ public java.lang.String getPartitionName() { java.lang.Object ref = partitionName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partitionName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string partition_name = 5; * @return The bytes for partitionName. */ public com.google.protobuf.ByteString getPartitionNameBytes() { java.lang.Object ref = partitionName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); partitionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string partition_name = 5; * @param value The partitionName to set. * @return This builder for chaining. */ public Builder setPartitionName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } partitionName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * string partition_name = 5; * @return This builder for chaining. */ public Builder clearPartitionName() { partitionName_ = getDefaultInstance().getPartitionName(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** * string partition_name = 5; * @param value The bytes for partitionName to set. * @return This builder for chaining. */ public Builder setPartitionNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); partitionName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } private long dbID_ ; /** * int64 dbID = 6; * @return The dbID. */ @java.lang.Override public long getDbID() { return dbID_; } /** * int64 dbID = 6; * @param value The dbID to set. * @return This builder for chaining. */ public Builder setDbID(long value) { dbID_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** * int64 dbID = 6; * @return This builder for chaining. */ public Builder clearDbID() { bitField0_ = (bitField0_ & ~0x00000020); dbID_ = 0L; onChanged(); return this; } private long collectionID_ ; /** * int64 collectionID = 7; * @return The collectionID. */ @java.lang.Override public long getCollectionID() { return collectionID_; } /** * int64 collectionID = 7; * @param value The collectionID to set. * @return This builder for chaining. */ public Builder setCollectionID(long value) { collectionID_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** * int64 collectionID = 7; * @return This builder for chaining. */ public Builder clearCollectionID() { bitField0_ = (bitField0_ & ~0x00000040); collectionID_ = 0L; onChanged(); return this; } private long partitionID_ ; /** * int64 partitionID = 8; * @return The partitionID. */ @java.lang.Override public long getPartitionID() { return partitionID_; } /** * int64 partitionID = 8; * @param value The partitionID to set. * @return This builder for chaining. */ public Builder setPartitionID(long value) { partitionID_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** * int64 partitionID = 8; * @return This builder for chaining. */ public Builder clearPartitionID() { bitField0_ = (bitField0_ & ~0x00000080); partitionID_ = 0L; onChanged(); return this; } private long segmentID_ ; /** * int64 segmentID = 9; * @return The segmentID. */ @java.lang.Override public long getSegmentID() { return segmentID_; } /** * int64 segmentID = 9; * @param value The segmentID to set. * @return This builder for chaining. */ public Builder setSegmentID(long value) { segmentID_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** * int64 segmentID = 9; * @return This builder for chaining. */ public Builder clearSegmentID() { bitField0_ = (bitField0_ & ~0x00000100); segmentID_ = 0L; onChanged(); return this; } private com.google.protobuf.Internal.LongList timestamps_ = emptyLongList(); private void ensureTimestampsIsMutable() { if (!timestamps_.isModifiable()) { timestamps_ = makeMutableCopy(timestamps_); } bitField0_ |= 0x00000200; } /** * repeated uint64 timestamps = 10; * @return A list containing the timestamps. */ public java.util.List getTimestampsList() { timestamps_.makeImmutable(); return timestamps_; } /** * repeated uint64 timestamps = 10; * @return The count of timestamps. */ public int getTimestampsCount() { return timestamps_.size(); } /** * repeated uint64 timestamps = 10; * @param index The index of the element to return. * @return The timestamps at the given index. */ public long getTimestamps(int index) { return timestamps_.getLong(index); } /** * repeated uint64 timestamps = 10; * @param index The index to set the value at. * @param value The timestamps to set. * @return This builder for chaining. */ public Builder setTimestamps( int index, long value) { ensureTimestampsIsMutable(); timestamps_.setLong(index, value); bitField0_ |= 0x00000200; onChanged(); return this; } /** * repeated uint64 timestamps = 10; * @param value The timestamps to add. * @return This builder for chaining. */ public Builder addTimestamps(long value) { ensureTimestampsIsMutable(); timestamps_.addLong(value); bitField0_ |= 0x00000200; onChanged(); return this; } /** * repeated uint64 timestamps = 10; * @param values The timestamps to add. * @return This builder for chaining. */ public Builder addAllTimestamps( java.lang.Iterable values) { ensureTimestampsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, timestamps_); bitField0_ |= 0x00000200; onChanged(); return this; } /** * repeated uint64 timestamps = 10; * @return This builder for chaining. */ public Builder clearTimestamps() { timestamps_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } private com.google.protobuf.Internal.LongList rowIDs_ = emptyLongList(); private void ensureRowIDsIsMutable() { if (!rowIDs_.isModifiable()) { rowIDs_ = makeMutableCopy(rowIDs_); } bitField0_ |= 0x00000400; } /** * repeated int64 rowIDs = 11; * @return A list containing the rowIDs. */ public java.util.List getRowIDsList() { rowIDs_.makeImmutable(); return rowIDs_; } /** * repeated int64 rowIDs = 11; * @return The count of rowIDs. */ public int getRowIDsCount() { return rowIDs_.size(); } /** * repeated int64 rowIDs = 11; * @param index The index of the element to return. * @return The rowIDs at the given index. */ public long getRowIDs(int index) { return rowIDs_.getLong(index); } /** * repeated int64 rowIDs = 11; * @param index The index to set the value at. * @param value The rowIDs to set. * @return This builder for chaining. */ public Builder setRowIDs( int index, long value) { ensureRowIDsIsMutable(); rowIDs_.setLong(index, value); bitField0_ |= 0x00000400; onChanged(); return this; } /** * repeated int64 rowIDs = 11; * @param value The rowIDs to add. * @return This builder for chaining. */ public Builder addRowIDs(long value) { ensureRowIDsIsMutable(); rowIDs_.addLong(value); bitField0_ |= 0x00000400; onChanged(); return this; } /** * repeated int64 rowIDs = 11; * @param values The rowIDs to add. * @return This builder for chaining. */ public Builder addAllRowIDs( java.lang.Iterable values) { ensureRowIDsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, rowIDs_); bitField0_ |= 0x00000400; onChanged(); return this; } /** * repeated int64 rowIDs = 11; * @return This builder for chaining. */ public Builder clearRowIDs() { rowIDs_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } private java.util.List rowData_ = java.util.Collections.emptyList(); private void ensureRowDataIsMutable() { if (!((bitField0_ & 0x00000800) != 0)) { rowData_ = new java.util.ArrayList(rowData_); bitField0_ |= 0x00000800; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.milvus.grpc.Blob, io.milvus.grpc.Blob.Builder, io.milvus.grpc.BlobOrBuilder> rowDataBuilder_; /** *
       * row_data was reserved for compatibility
       * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ public java.util.List getRowDataList() { if (rowDataBuilder_ == null) { return java.util.Collections.unmodifiableList(rowData_); } else { return rowDataBuilder_.getMessageList(); } } /** *
       * row_data was reserved for compatibility
       * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ public int getRowDataCount() { if (rowDataBuilder_ == null) { return rowData_.size(); } else { return rowDataBuilder_.getCount(); } } /** *
       * row_data was reserved for compatibility
       * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ public io.milvus.grpc.Blob getRowData(int index) { if (rowDataBuilder_ == null) { return rowData_.get(index); } else { return rowDataBuilder_.getMessage(index); } } /** *
       * row_data was reserved for compatibility
       * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ public Builder setRowData( int index, io.milvus.grpc.Blob value) { if (rowDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRowDataIsMutable(); rowData_.set(index, value); onChanged(); } else { rowDataBuilder_.setMessage(index, value); } return this; } /** *
       * row_data was reserved for compatibility
       * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ public Builder setRowData( int index, io.milvus.grpc.Blob.Builder builderForValue) { if (rowDataBuilder_ == null) { ensureRowDataIsMutable(); rowData_.set(index, builderForValue.build()); onChanged(); } else { rowDataBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * row_data was reserved for compatibility
       * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ public Builder addRowData(io.milvus.grpc.Blob value) { if (rowDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRowDataIsMutable(); rowData_.add(value); onChanged(); } else { rowDataBuilder_.addMessage(value); } return this; } /** *
       * row_data was reserved for compatibility
       * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ public Builder addRowData( int index, io.milvus.grpc.Blob value) { if (rowDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRowDataIsMutable(); rowData_.add(index, value); onChanged(); } else { rowDataBuilder_.addMessage(index, value); } return this; } /** *
       * row_data was reserved for compatibility
       * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ public Builder addRowData( io.milvus.grpc.Blob.Builder builderForValue) { if (rowDataBuilder_ == null) { ensureRowDataIsMutable(); rowData_.add(builderForValue.build()); onChanged(); } else { rowDataBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * row_data was reserved for compatibility
       * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ public Builder addRowData( int index, io.milvus.grpc.Blob.Builder builderForValue) { if (rowDataBuilder_ == null) { ensureRowDataIsMutable(); rowData_.add(index, builderForValue.build()); onChanged(); } else { rowDataBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * row_data was reserved for compatibility
       * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ public Builder addAllRowData( java.lang.Iterable values) { if (rowDataBuilder_ == null) { ensureRowDataIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, rowData_); onChanged(); } else { rowDataBuilder_.addAllMessages(values); } return this; } /** *
       * row_data was reserved for compatibility
       * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ public Builder clearRowData() { if (rowDataBuilder_ == null) { rowData_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); onChanged(); } else { rowDataBuilder_.clear(); } return this; } /** *
       * row_data was reserved for compatibility
       * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ public Builder removeRowData(int index) { if (rowDataBuilder_ == null) { ensureRowDataIsMutable(); rowData_.remove(index); onChanged(); } else { rowDataBuilder_.remove(index); } return this; } /** *
       * row_data was reserved for compatibility
       * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ public io.milvus.grpc.Blob.Builder getRowDataBuilder( int index) { return getRowDataFieldBuilder().getBuilder(index); } /** *
       * row_data was reserved for compatibility
       * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ public io.milvus.grpc.BlobOrBuilder getRowDataOrBuilder( int index) { if (rowDataBuilder_ == null) { return rowData_.get(index); } else { return rowDataBuilder_.getMessageOrBuilder(index); } } /** *
       * row_data was reserved for compatibility
       * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ public java.util.List getRowDataOrBuilderList() { if (rowDataBuilder_ != null) { return rowDataBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(rowData_); } } /** *
       * row_data was reserved for compatibility
       * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ public io.milvus.grpc.Blob.Builder addRowDataBuilder() { return getRowDataFieldBuilder().addBuilder( io.milvus.grpc.Blob.getDefaultInstance()); } /** *
       * row_data was reserved for compatibility
       * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ public io.milvus.grpc.Blob.Builder addRowDataBuilder( int index) { return getRowDataFieldBuilder().addBuilder( index, io.milvus.grpc.Blob.getDefaultInstance()); } /** *
       * row_data was reserved for compatibility
       * 
* * repeated .milvus.proto.common.Blob row_data = 12; */ public java.util.List getRowDataBuilderList() { return getRowDataFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.milvus.grpc.Blob, io.milvus.grpc.Blob.Builder, io.milvus.grpc.BlobOrBuilder> getRowDataFieldBuilder() { if (rowDataBuilder_ == null) { rowDataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.milvus.grpc.Blob, io.milvus.grpc.Blob.Builder, io.milvus.grpc.BlobOrBuilder>( rowData_, ((bitField0_ & 0x00000800) != 0), getParentForChildren(), isClean()); rowData_ = null; } return rowDataBuilder_; } private java.util.List fieldsData_ = java.util.Collections.emptyList(); private void ensureFieldsDataIsMutable() { if (!((bitField0_ & 0x00001000) != 0)) { fieldsData_ = new java.util.ArrayList(fieldsData_); bitField0_ |= 0x00001000; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.milvus.grpc.FieldData, io.milvus.grpc.FieldData.Builder, io.milvus.grpc.FieldDataOrBuilder> fieldsDataBuilder_; /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ public java.util.List getFieldsDataList() { if (fieldsDataBuilder_ == null) { return java.util.Collections.unmodifiableList(fieldsData_); } else { return fieldsDataBuilder_.getMessageList(); } } /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ public int getFieldsDataCount() { if (fieldsDataBuilder_ == null) { return fieldsData_.size(); } else { return fieldsDataBuilder_.getCount(); } } /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ public io.milvus.grpc.FieldData getFieldsData(int index) { if (fieldsDataBuilder_ == null) { return fieldsData_.get(index); } else { return fieldsDataBuilder_.getMessage(index); } } /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ public Builder setFieldsData( int index, io.milvus.grpc.FieldData value) { if (fieldsDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldsDataIsMutable(); fieldsData_.set(index, value); onChanged(); } else { fieldsDataBuilder_.setMessage(index, value); } return this; } /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ public Builder setFieldsData( int index, io.milvus.grpc.FieldData.Builder builderForValue) { if (fieldsDataBuilder_ == null) { ensureFieldsDataIsMutable(); fieldsData_.set(index, builderForValue.build()); onChanged(); } else { fieldsDataBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ public Builder addFieldsData(io.milvus.grpc.FieldData value) { if (fieldsDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldsDataIsMutable(); fieldsData_.add(value); onChanged(); } else { fieldsDataBuilder_.addMessage(value); } return this; } /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ public Builder addFieldsData( int index, io.milvus.grpc.FieldData value) { if (fieldsDataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldsDataIsMutable(); fieldsData_.add(index, value); onChanged(); } else { fieldsDataBuilder_.addMessage(index, value); } return this; } /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ public Builder addFieldsData( io.milvus.grpc.FieldData.Builder builderForValue) { if (fieldsDataBuilder_ == null) { ensureFieldsDataIsMutable(); fieldsData_.add(builderForValue.build()); onChanged(); } else { fieldsDataBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ public Builder addFieldsData( int index, io.milvus.grpc.FieldData.Builder builderForValue) { if (fieldsDataBuilder_ == null) { ensureFieldsDataIsMutable(); fieldsData_.add(index, builderForValue.build()); onChanged(); } else { fieldsDataBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ public Builder addAllFieldsData( java.lang.Iterable values) { if (fieldsDataBuilder_ == null) { ensureFieldsDataIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, fieldsData_); onChanged(); } else { fieldsDataBuilder_.addAllMessages(values); } return this; } /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ public Builder clearFieldsData() { if (fieldsDataBuilder_ == null) { fieldsData_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00001000); onChanged(); } else { fieldsDataBuilder_.clear(); } return this; } /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ public Builder removeFieldsData(int index) { if (fieldsDataBuilder_ == null) { ensureFieldsDataIsMutable(); fieldsData_.remove(index); onChanged(); } else { fieldsDataBuilder_.remove(index); } return this; } /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ public io.milvus.grpc.FieldData.Builder getFieldsDataBuilder( int index) { return getFieldsDataFieldBuilder().getBuilder(index); } /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ public io.milvus.grpc.FieldDataOrBuilder getFieldsDataOrBuilder( int index) { if (fieldsDataBuilder_ == null) { return fieldsData_.get(index); } else { return fieldsDataBuilder_.getMessageOrBuilder(index); } } /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ public java.util.List getFieldsDataOrBuilderList() { if (fieldsDataBuilder_ != null) { return fieldsDataBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(fieldsData_); } } /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ public io.milvus.grpc.FieldData.Builder addFieldsDataBuilder() { return getFieldsDataFieldBuilder().addBuilder( io.milvus.grpc.FieldData.getDefaultInstance()); } /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ public io.milvus.grpc.FieldData.Builder addFieldsDataBuilder( int index) { return getFieldsDataFieldBuilder().addBuilder( index, io.milvus.grpc.FieldData.getDefaultInstance()); } /** * repeated .milvus.proto.schema.FieldData fields_data = 13; */ public java.util.List getFieldsDataBuilderList() { return getFieldsDataFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.milvus.grpc.FieldData, io.milvus.grpc.FieldData.Builder, io.milvus.grpc.FieldDataOrBuilder> getFieldsDataFieldBuilder() { if (fieldsDataBuilder_ == null) { fieldsDataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.milvus.grpc.FieldData, io.milvus.grpc.FieldData.Builder, io.milvus.grpc.FieldDataOrBuilder>( fieldsData_, ((bitField0_ & 0x00001000) != 0), getParentForChildren(), isClean()); fieldsData_ = null; } return fieldsDataBuilder_; } private long numRows_ ; /** * uint64 num_rows = 14; * @return The numRows. */ @java.lang.Override public long getNumRows() { return numRows_; } /** * uint64 num_rows = 14; * @param value The numRows to set. * @return This builder for chaining. */ public Builder setNumRows(long value) { numRows_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** * uint64 num_rows = 14; * @return This builder for chaining. */ public Builder clearNumRows() { bitField0_ = (bitField0_ & ~0x00002000); numRows_ = 0L; onChanged(); return this; } private int version_ = 0; /** * .milvus.proto.msg.InsertDataVersion version = 15; * @return The enum numeric value on the wire for version. */ @java.lang.Override public int getVersionValue() { return version_; } /** * .milvus.proto.msg.InsertDataVersion version = 15; * @param value The enum numeric value on the wire for version to set. * @return This builder for chaining. */ public Builder setVersionValue(int value) { version_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** * .milvus.proto.msg.InsertDataVersion version = 15; * @return The version. */ @java.lang.Override public milvus.proto.msg.Msg.InsertDataVersion getVersion() { milvus.proto.msg.Msg.InsertDataVersion result = milvus.proto.msg.Msg.InsertDataVersion.forNumber(version_); return result == null ? milvus.proto.msg.Msg.InsertDataVersion.UNRECOGNIZED : result; } /** * .milvus.proto.msg.InsertDataVersion version = 15; * @param value The version to set. * @return This builder for chaining. */ public Builder setVersion(milvus.proto.msg.Msg.InsertDataVersion value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00004000; version_ = value.getNumber(); onChanged(); return this; } /** * .milvus.proto.msg.InsertDataVersion version = 15; * @return This builder for chaining. */ public Builder clearVersion() { bitField0_ = (bitField0_ & ~0x00004000); version_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:milvus.proto.msg.InsertRequest) } // @@protoc_insertion_point(class_scope:milvus.proto.msg.InsertRequest) private static final milvus.proto.msg.Msg.InsertRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new milvus.proto.msg.Msg.InsertRequest(); } public static milvus.proto.msg.Msg.InsertRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public InsertRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public milvus.proto.msg.Msg.InsertRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeleteRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:milvus.proto.msg.DeleteRequest) com.google.protobuf.MessageOrBuilder { /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ boolean hasBase(); /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ io.milvus.grpc.MsgBase getBase(); /** * .milvus.proto.common.MsgBase base = 1; */ io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder(); /** * string shardName = 2; * @return The shardName. */ java.lang.String getShardName(); /** * string shardName = 2; * @return The bytes for shardName. */ com.google.protobuf.ByteString getShardNameBytes(); /** * string db_name = 3; * @return The dbName. */ java.lang.String getDbName(); /** * string db_name = 3; * @return The bytes for dbName. */ com.google.protobuf.ByteString getDbNameBytes(); /** * string collection_name = 4; * @return The collectionName. */ java.lang.String getCollectionName(); /** * string collection_name = 4; * @return The bytes for collectionName. */ com.google.protobuf.ByteString getCollectionNameBytes(); /** * string partition_name = 5; * @return The partitionName. */ java.lang.String getPartitionName(); /** * string partition_name = 5; * @return The bytes for partitionName. */ com.google.protobuf.ByteString getPartitionNameBytes(); /** * int64 dbID = 6; * @return The dbID. */ long getDbID(); /** * int64 collectionID = 7; * @return The collectionID. */ long getCollectionID(); /** * int64 partitionID = 8; * @return The partitionID. */ long getPartitionID(); /** *
     * deprecated
     * 
* * repeated int64 int64_primary_keys = 9; * @return A list containing the int64PrimaryKeys. */ java.util.List getInt64PrimaryKeysList(); /** *
     * deprecated
     * 
* * repeated int64 int64_primary_keys = 9; * @return The count of int64PrimaryKeys. */ int getInt64PrimaryKeysCount(); /** *
     * deprecated
     * 
* * repeated int64 int64_primary_keys = 9; * @param index The index of the element to return. * @return The int64PrimaryKeys at the given index. */ long getInt64PrimaryKeys(int index); /** * repeated uint64 timestamps = 10; * @return A list containing the timestamps. */ java.util.List getTimestampsList(); /** * repeated uint64 timestamps = 10; * @return The count of timestamps. */ int getTimestampsCount(); /** * repeated uint64 timestamps = 10; * @param index The index of the element to return. * @return The timestamps at the given index. */ long getTimestamps(int index); /** * int64 num_rows = 11; * @return The numRows. */ long getNumRows(); /** * .milvus.proto.schema.IDs primary_keys = 12; * @return Whether the primaryKeys field is set. */ boolean hasPrimaryKeys(); /** * .milvus.proto.schema.IDs primary_keys = 12; * @return The primaryKeys. */ io.milvus.grpc.IDs getPrimaryKeys(); /** * .milvus.proto.schema.IDs primary_keys = 12; */ io.milvus.grpc.IDsOrBuilder getPrimaryKeysOrBuilder(); } /** * Protobuf type {@code milvus.proto.msg.DeleteRequest} */ public static final class DeleteRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:milvus.proto.msg.DeleteRequest) DeleteRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DeleteRequest.newBuilder() to construct. private DeleteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeleteRequest() { shardName_ = ""; dbName_ = ""; collectionName_ = ""; partitionName_ = ""; int64PrimaryKeys_ = emptyLongList(); timestamps_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeleteRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_DeleteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_DeleteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( milvus.proto.msg.Msg.DeleteRequest.class, milvus.proto.msg.Msg.DeleteRequest.Builder.class); } private int bitField0_; public static final int BASE_FIELD_NUMBER = 1; private io.milvus.grpc.MsgBase base_; /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ @java.lang.Override public boolean hasBase() { return ((bitField0_ & 0x00000001) != 0); } /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ @java.lang.Override public io.milvus.grpc.MsgBase getBase() { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } /** * .milvus.proto.common.MsgBase base = 1; */ @java.lang.Override public io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder() { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } public static final int SHARDNAME_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object shardName_ = ""; /** * string shardName = 2; * @return The shardName. */ @java.lang.Override public java.lang.String getShardName() { java.lang.Object ref = shardName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); shardName_ = s; return s; } } /** * string shardName = 2; * @return The bytes for shardName. */ @java.lang.Override public com.google.protobuf.ByteString getShardNameBytes() { java.lang.Object ref = shardName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shardName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DB_NAME_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object dbName_ = ""; /** * string db_name = 3; * @return The dbName. */ @java.lang.Override public java.lang.String getDbName() { java.lang.Object ref = dbName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dbName_ = s; return s; } } /** * string db_name = 3; * @return The bytes for dbName. */ @java.lang.Override public com.google.protobuf.ByteString getDbNameBytes() { java.lang.Object ref = dbName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dbName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COLLECTION_NAME_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object collectionName_ = ""; /** * string collection_name = 4; * @return The collectionName. */ @java.lang.Override public java.lang.String getCollectionName() { java.lang.Object ref = collectionName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionName_ = s; return s; } } /** * string collection_name = 4; * @return The bytes for collectionName. */ @java.lang.Override public com.google.protobuf.ByteString getCollectionNameBytes() { java.lang.Object ref = collectionName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); collectionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PARTITION_NAME_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object partitionName_ = ""; /** * string partition_name = 5; * @return The partitionName. */ @java.lang.Override public java.lang.String getPartitionName() { java.lang.Object ref = partitionName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partitionName_ = s; return s; } } /** * string partition_name = 5; * @return The bytes for partitionName. */ @java.lang.Override public com.google.protobuf.ByteString getPartitionNameBytes() { java.lang.Object ref = partitionName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); partitionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DBID_FIELD_NUMBER = 6; private long dbID_ = 0L; /** * int64 dbID = 6; * @return The dbID. */ @java.lang.Override public long getDbID() { return dbID_; } public static final int COLLECTIONID_FIELD_NUMBER = 7; private long collectionID_ = 0L; /** * int64 collectionID = 7; * @return The collectionID. */ @java.lang.Override public long getCollectionID() { return collectionID_; } public static final int PARTITIONID_FIELD_NUMBER = 8; private long partitionID_ = 0L; /** * int64 partitionID = 8; * @return The partitionID. */ @java.lang.Override public long getPartitionID() { return partitionID_; } public static final int INT64_PRIMARY_KEYS_FIELD_NUMBER = 9; @SuppressWarnings("serial") private com.google.protobuf.Internal.LongList int64PrimaryKeys_ = emptyLongList(); /** *
     * deprecated
     * 
* * repeated int64 int64_primary_keys = 9; * @return A list containing the int64PrimaryKeys. */ @java.lang.Override public java.util.List getInt64PrimaryKeysList() { return int64PrimaryKeys_; } /** *
     * deprecated
     * 
* * repeated int64 int64_primary_keys = 9; * @return The count of int64PrimaryKeys. */ public int getInt64PrimaryKeysCount() { return int64PrimaryKeys_.size(); } /** *
     * deprecated
     * 
* * repeated int64 int64_primary_keys = 9; * @param index The index of the element to return. * @return The int64PrimaryKeys at the given index. */ public long getInt64PrimaryKeys(int index) { return int64PrimaryKeys_.getLong(index); } private int int64PrimaryKeysMemoizedSerializedSize = -1; public static final int TIMESTAMPS_FIELD_NUMBER = 10; @SuppressWarnings("serial") private com.google.protobuf.Internal.LongList timestamps_ = emptyLongList(); /** * repeated uint64 timestamps = 10; * @return A list containing the timestamps. */ @java.lang.Override public java.util.List getTimestampsList() { return timestamps_; } /** * repeated uint64 timestamps = 10; * @return The count of timestamps. */ public int getTimestampsCount() { return timestamps_.size(); } /** * repeated uint64 timestamps = 10; * @param index The index of the element to return. * @return The timestamps at the given index. */ public long getTimestamps(int index) { return timestamps_.getLong(index); } private int timestampsMemoizedSerializedSize = -1; public static final int NUM_ROWS_FIELD_NUMBER = 11; private long numRows_ = 0L; /** * int64 num_rows = 11; * @return The numRows. */ @java.lang.Override public long getNumRows() { return numRows_; } public static final int PRIMARY_KEYS_FIELD_NUMBER = 12; private io.milvus.grpc.IDs primaryKeys_; /** * .milvus.proto.schema.IDs primary_keys = 12; * @return Whether the primaryKeys field is set. */ @java.lang.Override public boolean hasPrimaryKeys() { return ((bitField0_ & 0x00000002) != 0); } /** * .milvus.proto.schema.IDs primary_keys = 12; * @return The primaryKeys. */ @java.lang.Override public io.milvus.grpc.IDs getPrimaryKeys() { return primaryKeys_ == null ? io.milvus.grpc.IDs.getDefaultInstance() : primaryKeys_; } /** * .milvus.proto.schema.IDs primary_keys = 12; */ @java.lang.Override public io.milvus.grpc.IDsOrBuilder getPrimaryKeysOrBuilder() { return primaryKeys_ == null ? io.milvus.grpc.IDs.getDefaultInstance() : primaryKeys_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getBase()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, shardName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dbName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, dbName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collectionName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, collectionName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, partitionName_); } if (dbID_ != 0L) { output.writeInt64(6, dbID_); } if (collectionID_ != 0L) { output.writeInt64(7, collectionID_); } if (partitionID_ != 0L) { output.writeInt64(8, partitionID_); } if (getInt64PrimaryKeysList().size() > 0) { output.writeUInt32NoTag(74); output.writeUInt32NoTag(int64PrimaryKeysMemoizedSerializedSize); } for (int i = 0; i < int64PrimaryKeys_.size(); i++) { output.writeInt64NoTag(int64PrimaryKeys_.getLong(i)); } if (getTimestampsList().size() > 0) { output.writeUInt32NoTag(82); output.writeUInt32NoTag(timestampsMemoizedSerializedSize); } for (int i = 0; i < timestamps_.size(); i++) { output.writeUInt64NoTag(timestamps_.getLong(i)); } if (numRows_ != 0L) { output.writeInt64(11, numRows_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(12, getPrimaryKeys()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getBase()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(shardName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, shardName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dbName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, dbName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collectionName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, collectionName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, partitionName_); } if (dbID_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, dbID_); } if (collectionID_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, collectionID_); } if (partitionID_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, partitionID_); } { int dataSize = 0; for (int i = 0; i < int64PrimaryKeys_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(int64PrimaryKeys_.getLong(i)); } size += dataSize; if (!getInt64PrimaryKeysList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } int64PrimaryKeysMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < timestamps_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt64SizeNoTag(timestamps_.getLong(i)); } size += dataSize; if (!getTimestampsList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } timestampsMemoizedSerializedSize = dataSize; } if (numRows_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(11, numRows_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getPrimaryKeys()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof milvus.proto.msg.Msg.DeleteRequest)) { return super.equals(obj); } milvus.proto.msg.Msg.DeleteRequest other = (milvus.proto.msg.Msg.DeleteRequest) obj; if (hasBase() != other.hasBase()) return false; if (hasBase()) { if (!getBase() .equals(other.getBase())) return false; } if (!getShardName() .equals(other.getShardName())) return false; if (!getDbName() .equals(other.getDbName())) return false; if (!getCollectionName() .equals(other.getCollectionName())) return false; if (!getPartitionName() .equals(other.getPartitionName())) return false; if (getDbID() != other.getDbID()) return false; if (getCollectionID() != other.getCollectionID()) return false; if (getPartitionID() != other.getPartitionID()) return false; if (!getInt64PrimaryKeysList() .equals(other.getInt64PrimaryKeysList())) return false; if (!getTimestampsList() .equals(other.getTimestampsList())) return false; if (getNumRows() != other.getNumRows()) return false; if (hasPrimaryKeys() != other.hasPrimaryKeys()) return false; if (hasPrimaryKeys()) { if (!getPrimaryKeys() .equals(other.getPrimaryKeys())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasBase()) { hash = (37 * hash) + BASE_FIELD_NUMBER; hash = (53 * hash) + getBase().hashCode(); } hash = (37 * hash) + SHARDNAME_FIELD_NUMBER; hash = (53 * hash) + getShardName().hashCode(); hash = (37 * hash) + DB_NAME_FIELD_NUMBER; hash = (53 * hash) + getDbName().hashCode(); hash = (37 * hash) + COLLECTION_NAME_FIELD_NUMBER; hash = (53 * hash) + getCollectionName().hashCode(); hash = (37 * hash) + PARTITION_NAME_FIELD_NUMBER; hash = (53 * hash) + getPartitionName().hashCode(); hash = (37 * hash) + DBID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDbID()); hash = (37 * hash) + COLLECTIONID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCollectionID()); hash = (37 * hash) + PARTITIONID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPartitionID()); if (getInt64PrimaryKeysCount() > 0) { hash = (37 * hash) + INT64_PRIMARY_KEYS_FIELD_NUMBER; hash = (53 * hash) + getInt64PrimaryKeysList().hashCode(); } if (getTimestampsCount() > 0) { hash = (37 * hash) + TIMESTAMPS_FIELD_NUMBER; hash = (53 * hash) + getTimestampsList().hashCode(); } hash = (37 * hash) + NUM_ROWS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNumRows()); if (hasPrimaryKeys()) { hash = (37 * hash) + PRIMARY_KEYS_FIELD_NUMBER; hash = (53 * hash) + getPrimaryKeys().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static milvus.proto.msg.Msg.DeleteRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.DeleteRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.DeleteRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.DeleteRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.DeleteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.DeleteRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.DeleteRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.DeleteRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static milvus.proto.msg.Msg.DeleteRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.DeleteRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static milvus.proto.msg.Msg.DeleteRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.DeleteRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(milvus.proto.msg.Msg.DeleteRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code milvus.proto.msg.DeleteRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:milvus.proto.msg.DeleteRequest) milvus.proto.msg.Msg.DeleteRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_DeleteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_DeleteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( milvus.proto.msg.Msg.DeleteRequest.class, milvus.proto.msg.Msg.DeleteRequest.Builder.class); } // Construct using milvus.proto.msg.Msg.DeleteRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBaseFieldBuilder(); getPrimaryKeysFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; base_ = null; if (baseBuilder_ != null) { baseBuilder_.dispose(); baseBuilder_ = null; } shardName_ = ""; dbName_ = ""; collectionName_ = ""; partitionName_ = ""; dbID_ = 0L; collectionID_ = 0L; partitionID_ = 0L; int64PrimaryKeys_ = emptyLongList(); timestamps_ = emptyLongList(); numRows_ = 0L; primaryKeys_ = null; if (primaryKeysBuilder_ != null) { primaryKeysBuilder_.dispose(); primaryKeysBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_DeleteRequest_descriptor; } @java.lang.Override public milvus.proto.msg.Msg.DeleteRequest getDefaultInstanceForType() { return milvus.proto.msg.Msg.DeleteRequest.getDefaultInstance(); } @java.lang.Override public milvus.proto.msg.Msg.DeleteRequest build() { milvus.proto.msg.Msg.DeleteRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public milvus.proto.msg.Msg.DeleteRequest buildPartial() { milvus.proto.msg.Msg.DeleteRequest result = new milvus.proto.msg.Msg.DeleteRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(milvus.proto.msg.Msg.DeleteRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.base_ = baseBuilder_ == null ? base_ : baseBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.shardName_ = shardName_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.dbName_ = dbName_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.collectionName_ = collectionName_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.partitionName_ = partitionName_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.dbID_ = dbID_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.collectionID_ = collectionID_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.partitionID_ = partitionID_; } if (((from_bitField0_ & 0x00000100) != 0)) { int64PrimaryKeys_.makeImmutable(); result.int64PrimaryKeys_ = int64PrimaryKeys_; } if (((from_bitField0_ & 0x00000200) != 0)) { timestamps_.makeImmutable(); result.timestamps_ = timestamps_; } if (((from_bitField0_ & 0x00000400) != 0)) { result.numRows_ = numRows_; } if (((from_bitField0_ & 0x00000800) != 0)) { result.primaryKeys_ = primaryKeysBuilder_ == null ? primaryKeys_ : primaryKeysBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof milvus.proto.msg.Msg.DeleteRequest) { return mergeFrom((milvus.proto.msg.Msg.DeleteRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(milvus.proto.msg.Msg.DeleteRequest other) { if (other == milvus.proto.msg.Msg.DeleteRequest.getDefaultInstance()) return this; if (other.hasBase()) { mergeBase(other.getBase()); } if (!other.getShardName().isEmpty()) { shardName_ = other.shardName_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getDbName().isEmpty()) { dbName_ = other.dbName_; bitField0_ |= 0x00000004; onChanged(); } if (!other.getCollectionName().isEmpty()) { collectionName_ = other.collectionName_; bitField0_ |= 0x00000008; onChanged(); } if (!other.getPartitionName().isEmpty()) { partitionName_ = other.partitionName_; bitField0_ |= 0x00000010; onChanged(); } if (other.getDbID() != 0L) { setDbID(other.getDbID()); } if (other.getCollectionID() != 0L) { setCollectionID(other.getCollectionID()); } if (other.getPartitionID() != 0L) { setPartitionID(other.getPartitionID()); } if (!other.int64PrimaryKeys_.isEmpty()) { if (int64PrimaryKeys_.isEmpty()) { int64PrimaryKeys_ = other.int64PrimaryKeys_; int64PrimaryKeys_.makeImmutable(); bitField0_ |= 0x00000100; } else { ensureInt64PrimaryKeysIsMutable(); int64PrimaryKeys_.addAll(other.int64PrimaryKeys_); } onChanged(); } if (!other.timestamps_.isEmpty()) { if (timestamps_.isEmpty()) { timestamps_ = other.timestamps_; timestamps_.makeImmutable(); bitField0_ |= 0x00000200; } else { ensureTimestampsIsMutable(); timestamps_.addAll(other.timestamps_); } onChanged(); } if (other.getNumRows() != 0L) { setNumRows(other.getNumRows()); } if (other.hasPrimaryKeys()) { mergePrimaryKeys(other.getPrimaryKeys()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getBaseFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { shardName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { dbName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { collectionName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 case 42: { partitionName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000010; break; } // case 42 case 48: { dbID_ = input.readInt64(); bitField0_ |= 0x00000020; break; } // case 48 case 56: { collectionID_ = input.readInt64(); bitField0_ |= 0x00000040; break; } // case 56 case 64: { partitionID_ = input.readInt64(); bitField0_ |= 0x00000080; break; } // case 64 case 72: { long v = input.readInt64(); ensureInt64PrimaryKeysIsMutable(); int64PrimaryKeys_.addLong(v); break; } // case 72 case 74: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); ensureInt64PrimaryKeysIsMutable(); while (input.getBytesUntilLimit() > 0) { int64PrimaryKeys_.addLong(input.readInt64()); } input.popLimit(limit); break; } // case 74 case 80: { long v = input.readUInt64(); ensureTimestampsIsMutable(); timestamps_.addLong(v); break; } // case 80 case 82: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); ensureTimestampsIsMutable(); while (input.getBytesUntilLimit() > 0) { timestamps_.addLong(input.readUInt64()); } input.popLimit(limit); break; } // case 82 case 88: { numRows_ = input.readInt64(); bitField0_ |= 0x00000400; break; } // case 88 case 98: { input.readMessage( getPrimaryKeysFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000800; break; } // case 98 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private io.milvus.grpc.MsgBase base_; private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder> baseBuilder_; /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ public boolean hasBase() { return ((bitField0_ & 0x00000001) != 0); } /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ public io.milvus.grpc.MsgBase getBase() { if (baseBuilder_ == null) { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } else { return baseBuilder_.getMessage(); } } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder setBase(io.milvus.grpc.MsgBase value) { if (baseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } base_ = value; } else { baseBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder setBase( io.milvus.grpc.MsgBase.Builder builderForValue) { if (baseBuilder_ == null) { base_ = builderForValue.build(); } else { baseBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder mergeBase(io.milvus.grpc.MsgBase value) { if (baseBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && base_ != null && base_ != io.milvus.grpc.MsgBase.getDefaultInstance()) { getBaseBuilder().mergeFrom(value); } else { base_ = value; } } else { baseBuilder_.mergeFrom(value); } if (base_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder clearBase() { bitField0_ = (bitField0_ & ~0x00000001); base_ = null; if (baseBuilder_ != null) { baseBuilder_.dispose(); baseBuilder_ = null; } onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public io.milvus.grpc.MsgBase.Builder getBaseBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBaseFieldBuilder().getBuilder(); } /** * .milvus.proto.common.MsgBase base = 1; */ public io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder() { if (baseBuilder_ != null) { return baseBuilder_.getMessageOrBuilder(); } else { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } } /** * .milvus.proto.common.MsgBase base = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder> getBaseFieldBuilder() { if (baseBuilder_ == null) { baseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder>( getBase(), getParentForChildren(), isClean()); base_ = null; } return baseBuilder_; } private java.lang.Object shardName_ = ""; /** * string shardName = 2; * @return The shardName. */ public java.lang.String getShardName() { java.lang.Object ref = shardName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); shardName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string shardName = 2; * @return The bytes for shardName. */ public com.google.protobuf.ByteString getShardNameBytes() { java.lang.Object ref = shardName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); shardName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string shardName = 2; * @param value The shardName to set. * @return This builder for chaining. */ public Builder setShardName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } shardName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * string shardName = 2; * @return This builder for chaining. */ public Builder clearShardName() { shardName_ = getDefaultInstance().getShardName(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * string shardName = 2; * @param value The bytes for shardName to set. * @return This builder for chaining. */ public Builder setShardNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); shardName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object dbName_ = ""; /** * string db_name = 3; * @return The dbName. */ public java.lang.String getDbName() { java.lang.Object ref = dbName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dbName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string db_name = 3; * @return The bytes for dbName. */ public com.google.protobuf.ByteString getDbNameBytes() { java.lang.Object ref = dbName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dbName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string db_name = 3; * @param value The dbName to set. * @return This builder for chaining. */ public Builder setDbName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } dbName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * string db_name = 3; * @return This builder for chaining. */ public Builder clearDbName() { dbName_ = getDefaultInstance().getDbName(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * string db_name = 3; * @param value The bytes for dbName to set. * @return This builder for chaining. */ public Builder setDbNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dbName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.lang.Object collectionName_ = ""; /** * string collection_name = 4; * @return The collectionName. */ public java.lang.String getCollectionName() { java.lang.Object ref = collectionName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string collection_name = 4; * @return The bytes for collectionName. */ public com.google.protobuf.ByteString getCollectionNameBytes() { java.lang.Object ref = collectionName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); collectionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string collection_name = 4; * @param value The collectionName to set. * @return This builder for chaining. */ public Builder setCollectionName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } collectionName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * string collection_name = 4; * @return This builder for chaining. */ public Builder clearCollectionName() { collectionName_ = getDefaultInstance().getCollectionName(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** * string collection_name = 4; * @param value The bytes for collectionName to set. * @return This builder for chaining. */ public Builder setCollectionNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); collectionName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private java.lang.Object partitionName_ = ""; /** * string partition_name = 5; * @return The partitionName. */ public java.lang.String getPartitionName() { java.lang.Object ref = partitionName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partitionName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string partition_name = 5; * @return The bytes for partitionName. */ public com.google.protobuf.ByteString getPartitionNameBytes() { java.lang.Object ref = partitionName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); partitionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string partition_name = 5; * @param value The partitionName to set. * @return This builder for chaining. */ public Builder setPartitionName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } partitionName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * string partition_name = 5; * @return This builder for chaining. */ public Builder clearPartitionName() { partitionName_ = getDefaultInstance().getPartitionName(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } /** * string partition_name = 5; * @param value The bytes for partitionName to set. * @return This builder for chaining. */ public Builder setPartitionNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); partitionName_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } private long dbID_ ; /** * int64 dbID = 6; * @return The dbID. */ @java.lang.Override public long getDbID() { return dbID_; } /** * int64 dbID = 6; * @param value The dbID to set. * @return This builder for chaining. */ public Builder setDbID(long value) { dbID_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** * int64 dbID = 6; * @return This builder for chaining. */ public Builder clearDbID() { bitField0_ = (bitField0_ & ~0x00000020); dbID_ = 0L; onChanged(); return this; } private long collectionID_ ; /** * int64 collectionID = 7; * @return The collectionID. */ @java.lang.Override public long getCollectionID() { return collectionID_; } /** * int64 collectionID = 7; * @param value The collectionID to set. * @return This builder for chaining. */ public Builder setCollectionID(long value) { collectionID_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** * int64 collectionID = 7; * @return This builder for chaining. */ public Builder clearCollectionID() { bitField0_ = (bitField0_ & ~0x00000040); collectionID_ = 0L; onChanged(); return this; } private long partitionID_ ; /** * int64 partitionID = 8; * @return The partitionID. */ @java.lang.Override public long getPartitionID() { return partitionID_; } /** * int64 partitionID = 8; * @param value The partitionID to set. * @return This builder for chaining. */ public Builder setPartitionID(long value) { partitionID_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** * int64 partitionID = 8; * @return This builder for chaining. */ public Builder clearPartitionID() { bitField0_ = (bitField0_ & ~0x00000080); partitionID_ = 0L; onChanged(); return this; } private com.google.protobuf.Internal.LongList int64PrimaryKeys_ = emptyLongList(); private void ensureInt64PrimaryKeysIsMutable() { if (!int64PrimaryKeys_.isModifiable()) { int64PrimaryKeys_ = makeMutableCopy(int64PrimaryKeys_); } bitField0_ |= 0x00000100; } /** *
       * deprecated
       * 
* * repeated int64 int64_primary_keys = 9; * @return A list containing the int64PrimaryKeys. */ public java.util.List getInt64PrimaryKeysList() { int64PrimaryKeys_.makeImmutable(); return int64PrimaryKeys_; } /** *
       * deprecated
       * 
* * repeated int64 int64_primary_keys = 9; * @return The count of int64PrimaryKeys. */ public int getInt64PrimaryKeysCount() { return int64PrimaryKeys_.size(); } /** *
       * deprecated
       * 
* * repeated int64 int64_primary_keys = 9; * @param index The index of the element to return. * @return The int64PrimaryKeys at the given index. */ public long getInt64PrimaryKeys(int index) { return int64PrimaryKeys_.getLong(index); } /** *
       * deprecated
       * 
* * repeated int64 int64_primary_keys = 9; * @param index The index to set the value at. * @param value The int64PrimaryKeys to set. * @return This builder for chaining. */ public Builder setInt64PrimaryKeys( int index, long value) { ensureInt64PrimaryKeysIsMutable(); int64PrimaryKeys_.setLong(index, value); bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * deprecated
       * 
* * repeated int64 int64_primary_keys = 9; * @param value The int64PrimaryKeys to add. * @return This builder for chaining. */ public Builder addInt64PrimaryKeys(long value) { ensureInt64PrimaryKeysIsMutable(); int64PrimaryKeys_.addLong(value); bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * deprecated
       * 
* * repeated int64 int64_primary_keys = 9; * @param values The int64PrimaryKeys to add. * @return This builder for chaining. */ public Builder addAllInt64PrimaryKeys( java.lang.Iterable values) { ensureInt64PrimaryKeysIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, int64PrimaryKeys_); bitField0_ |= 0x00000100; onChanged(); return this; } /** *
       * deprecated
       * 
* * repeated int64 int64_primary_keys = 9; * @return This builder for chaining. */ public Builder clearInt64PrimaryKeys() { int64PrimaryKeys_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } private com.google.protobuf.Internal.LongList timestamps_ = emptyLongList(); private void ensureTimestampsIsMutable() { if (!timestamps_.isModifiable()) { timestamps_ = makeMutableCopy(timestamps_); } bitField0_ |= 0x00000200; } /** * repeated uint64 timestamps = 10; * @return A list containing the timestamps. */ public java.util.List getTimestampsList() { timestamps_.makeImmutable(); return timestamps_; } /** * repeated uint64 timestamps = 10; * @return The count of timestamps. */ public int getTimestampsCount() { return timestamps_.size(); } /** * repeated uint64 timestamps = 10; * @param index The index of the element to return. * @return The timestamps at the given index. */ public long getTimestamps(int index) { return timestamps_.getLong(index); } /** * repeated uint64 timestamps = 10; * @param index The index to set the value at. * @param value The timestamps to set. * @return This builder for chaining. */ public Builder setTimestamps( int index, long value) { ensureTimestampsIsMutable(); timestamps_.setLong(index, value); bitField0_ |= 0x00000200; onChanged(); return this; } /** * repeated uint64 timestamps = 10; * @param value The timestamps to add. * @return This builder for chaining. */ public Builder addTimestamps(long value) { ensureTimestampsIsMutable(); timestamps_.addLong(value); bitField0_ |= 0x00000200; onChanged(); return this; } /** * repeated uint64 timestamps = 10; * @param values The timestamps to add. * @return This builder for chaining. */ public Builder addAllTimestamps( java.lang.Iterable values) { ensureTimestampsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, timestamps_); bitField0_ |= 0x00000200; onChanged(); return this; } /** * repeated uint64 timestamps = 10; * @return This builder for chaining. */ public Builder clearTimestamps() { timestamps_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } private long numRows_ ; /** * int64 num_rows = 11; * @return The numRows. */ @java.lang.Override public long getNumRows() { return numRows_; } /** * int64 num_rows = 11; * @param value The numRows to set. * @return This builder for chaining. */ public Builder setNumRows(long value) { numRows_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** * int64 num_rows = 11; * @return This builder for chaining. */ public Builder clearNumRows() { bitField0_ = (bitField0_ & ~0x00000400); numRows_ = 0L; onChanged(); return this; } private io.milvus.grpc.IDs primaryKeys_; private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.IDs, io.milvus.grpc.IDs.Builder, io.milvus.grpc.IDsOrBuilder> primaryKeysBuilder_; /** * .milvus.proto.schema.IDs primary_keys = 12; * @return Whether the primaryKeys field is set. */ public boolean hasPrimaryKeys() { return ((bitField0_ & 0x00000800) != 0); } /** * .milvus.proto.schema.IDs primary_keys = 12; * @return The primaryKeys. */ public io.milvus.grpc.IDs getPrimaryKeys() { if (primaryKeysBuilder_ == null) { return primaryKeys_ == null ? io.milvus.grpc.IDs.getDefaultInstance() : primaryKeys_; } else { return primaryKeysBuilder_.getMessage(); } } /** * .milvus.proto.schema.IDs primary_keys = 12; */ public Builder setPrimaryKeys(io.milvus.grpc.IDs value) { if (primaryKeysBuilder_ == null) { if (value == null) { throw new NullPointerException(); } primaryKeys_ = value; } else { primaryKeysBuilder_.setMessage(value); } bitField0_ |= 0x00000800; onChanged(); return this; } /** * .milvus.proto.schema.IDs primary_keys = 12; */ public Builder setPrimaryKeys( io.milvus.grpc.IDs.Builder builderForValue) { if (primaryKeysBuilder_ == null) { primaryKeys_ = builderForValue.build(); } else { primaryKeysBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000800; onChanged(); return this; } /** * .milvus.proto.schema.IDs primary_keys = 12; */ public Builder mergePrimaryKeys(io.milvus.grpc.IDs value) { if (primaryKeysBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0) && primaryKeys_ != null && primaryKeys_ != io.milvus.grpc.IDs.getDefaultInstance()) { getPrimaryKeysBuilder().mergeFrom(value); } else { primaryKeys_ = value; } } else { primaryKeysBuilder_.mergeFrom(value); } if (primaryKeys_ != null) { bitField0_ |= 0x00000800; onChanged(); } return this; } /** * .milvus.proto.schema.IDs primary_keys = 12; */ public Builder clearPrimaryKeys() { bitField0_ = (bitField0_ & ~0x00000800); primaryKeys_ = null; if (primaryKeysBuilder_ != null) { primaryKeysBuilder_.dispose(); primaryKeysBuilder_ = null; } onChanged(); return this; } /** * .milvus.proto.schema.IDs primary_keys = 12; */ public io.milvus.grpc.IDs.Builder getPrimaryKeysBuilder() { bitField0_ |= 0x00000800; onChanged(); return getPrimaryKeysFieldBuilder().getBuilder(); } /** * .milvus.proto.schema.IDs primary_keys = 12; */ public io.milvus.grpc.IDsOrBuilder getPrimaryKeysOrBuilder() { if (primaryKeysBuilder_ != null) { return primaryKeysBuilder_.getMessageOrBuilder(); } else { return primaryKeys_ == null ? io.milvus.grpc.IDs.getDefaultInstance() : primaryKeys_; } } /** * .milvus.proto.schema.IDs primary_keys = 12; */ private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.IDs, io.milvus.grpc.IDs.Builder, io.milvus.grpc.IDsOrBuilder> getPrimaryKeysFieldBuilder() { if (primaryKeysBuilder_ == null) { primaryKeysBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.IDs, io.milvus.grpc.IDs.Builder, io.milvus.grpc.IDsOrBuilder>( getPrimaryKeys(), getParentForChildren(), isClean()); primaryKeys_ = null; } return primaryKeysBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:milvus.proto.msg.DeleteRequest) } // @@protoc_insertion_point(class_scope:milvus.proto.msg.DeleteRequest) private static final milvus.proto.msg.Msg.DeleteRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new milvus.proto.msg.Msg.DeleteRequest(); } public static milvus.proto.msg.Msg.DeleteRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeleteRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public milvus.proto.msg.Msg.DeleteRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MsgPositionOrBuilder extends // @@protoc_insertion_point(interface_extends:milvus.proto.msg.MsgPosition) com.google.protobuf.MessageOrBuilder { /** * string channel_name = 1; * @return The channelName. */ java.lang.String getChannelName(); /** * string channel_name = 1; * @return The bytes for channelName. */ com.google.protobuf.ByteString getChannelNameBytes(); /** * bytes msgID = 2; * @return The msgID. */ com.google.protobuf.ByteString getMsgID(); /** * string msgGroup = 3; * @return The msgGroup. */ java.lang.String getMsgGroup(); /** * string msgGroup = 3; * @return The bytes for msgGroup. */ com.google.protobuf.ByteString getMsgGroupBytes(); /** * uint64 timestamp = 4; * @return The timestamp. */ long getTimestamp(); } /** * Protobuf type {@code milvus.proto.msg.MsgPosition} */ public static final class MsgPosition extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:milvus.proto.msg.MsgPosition) MsgPositionOrBuilder { private static final long serialVersionUID = 0L; // Use MsgPosition.newBuilder() to construct. private MsgPosition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MsgPosition() { channelName_ = ""; msgID_ = com.google.protobuf.ByteString.EMPTY; msgGroup_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MsgPosition(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_MsgPosition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_MsgPosition_fieldAccessorTable .ensureFieldAccessorsInitialized( milvus.proto.msg.Msg.MsgPosition.class, milvus.proto.msg.Msg.MsgPosition.Builder.class); } public static final int CHANNEL_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object channelName_ = ""; /** * string channel_name = 1; * @return The channelName. */ @java.lang.Override public java.lang.String getChannelName() { java.lang.Object ref = channelName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); channelName_ = s; return s; } } /** * string channel_name = 1; * @return The bytes for channelName. */ @java.lang.Override public com.google.protobuf.ByteString getChannelNameBytes() { java.lang.Object ref = channelName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); channelName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MSGID_FIELD_NUMBER = 2; private com.google.protobuf.ByteString msgID_ = com.google.protobuf.ByteString.EMPTY; /** * bytes msgID = 2; * @return The msgID. */ @java.lang.Override public com.google.protobuf.ByteString getMsgID() { return msgID_; } public static final int MSGGROUP_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object msgGroup_ = ""; /** * string msgGroup = 3; * @return The msgGroup. */ @java.lang.Override public java.lang.String getMsgGroup() { java.lang.Object ref = msgGroup_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); msgGroup_ = s; return s; } } /** * string msgGroup = 3; * @return The bytes for msgGroup. */ @java.lang.Override public com.google.protobuf.ByteString getMsgGroupBytes() { java.lang.Object ref = msgGroup_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); msgGroup_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TIMESTAMP_FIELD_NUMBER = 4; private long timestamp_ = 0L; /** * uint64 timestamp = 4; * @return The timestamp. */ @java.lang.Override public long getTimestamp() { return timestamp_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(channelName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, channelName_); } if (!msgID_.isEmpty()) { output.writeBytes(2, msgID_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msgGroup_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, msgGroup_); } if (timestamp_ != 0L) { output.writeUInt64(4, timestamp_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(channelName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, channelName_); } if (!msgID_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, msgID_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(msgGroup_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, msgGroup_); } if (timestamp_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, timestamp_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof milvus.proto.msg.Msg.MsgPosition)) { return super.equals(obj); } milvus.proto.msg.Msg.MsgPosition other = (milvus.proto.msg.Msg.MsgPosition) obj; if (!getChannelName() .equals(other.getChannelName())) return false; if (!getMsgID() .equals(other.getMsgID())) return false; if (!getMsgGroup() .equals(other.getMsgGroup())) return false; if (getTimestamp() != other.getTimestamp()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CHANNEL_NAME_FIELD_NUMBER; hash = (53 * hash) + getChannelName().hashCode(); hash = (37 * hash) + MSGID_FIELD_NUMBER; hash = (53 * hash) + getMsgID().hashCode(); hash = (37 * hash) + MSGGROUP_FIELD_NUMBER; hash = (53 * hash) + getMsgGroup().hashCode(); hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimestamp()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static milvus.proto.msg.Msg.MsgPosition parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.MsgPosition parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.MsgPosition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.MsgPosition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.MsgPosition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.MsgPosition parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.MsgPosition parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.MsgPosition parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static milvus.proto.msg.Msg.MsgPosition parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.MsgPosition parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static milvus.proto.msg.Msg.MsgPosition parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.MsgPosition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(milvus.proto.msg.Msg.MsgPosition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code milvus.proto.msg.MsgPosition} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:milvus.proto.msg.MsgPosition) milvus.proto.msg.Msg.MsgPositionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_MsgPosition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_MsgPosition_fieldAccessorTable .ensureFieldAccessorsInitialized( milvus.proto.msg.Msg.MsgPosition.class, milvus.proto.msg.Msg.MsgPosition.Builder.class); } // Construct using milvus.proto.msg.Msg.MsgPosition.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; channelName_ = ""; msgID_ = com.google.protobuf.ByteString.EMPTY; msgGroup_ = ""; timestamp_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_MsgPosition_descriptor; } @java.lang.Override public milvus.proto.msg.Msg.MsgPosition getDefaultInstanceForType() { return milvus.proto.msg.Msg.MsgPosition.getDefaultInstance(); } @java.lang.Override public milvus.proto.msg.Msg.MsgPosition build() { milvus.proto.msg.Msg.MsgPosition result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public milvus.proto.msg.Msg.MsgPosition buildPartial() { milvus.proto.msg.Msg.MsgPosition result = new milvus.proto.msg.Msg.MsgPosition(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(milvus.proto.msg.Msg.MsgPosition result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.channelName_ = channelName_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.msgID_ = msgID_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.msgGroup_ = msgGroup_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.timestamp_ = timestamp_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof milvus.proto.msg.Msg.MsgPosition) { return mergeFrom((milvus.proto.msg.Msg.MsgPosition)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(milvus.proto.msg.Msg.MsgPosition other) { if (other == milvus.proto.msg.Msg.MsgPosition.getDefaultInstance()) return this; if (!other.getChannelName().isEmpty()) { channelName_ = other.channelName_; bitField0_ |= 0x00000001; onChanged(); } if (other.getMsgID() != com.google.protobuf.ByteString.EMPTY) { setMsgID(other.getMsgID()); } if (!other.getMsgGroup().isEmpty()) { msgGroup_ = other.msgGroup_; bitField0_ |= 0x00000004; onChanged(); } if (other.getTimestamp() != 0L) { setTimestamp(other.getTimestamp()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { channelName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { msgID_ = input.readBytes(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { msgGroup_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 32: { timestamp_ = input.readUInt64(); bitField0_ |= 0x00000008; break; } // case 32 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object channelName_ = ""; /** * string channel_name = 1; * @return The channelName. */ public java.lang.String getChannelName() { java.lang.Object ref = channelName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); channelName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string channel_name = 1; * @return The bytes for channelName. */ public com.google.protobuf.ByteString getChannelNameBytes() { java.lang.Object ref = channelName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); channelName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string channel_name = 1; * @param value The channelName to set. * @return This builder for chaining. */ public Builder setChannelName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } channelName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string channel_name = 1; * @return This builder for chaining. */ public Builder clearChannelName() { channelName_ = getDefaultInstance().getChannelName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string channel_name = 1; * @param value The bytes for channelName to set. * @return This builder for chaining. */ public Builder setChannelNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); channelName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private com.google.protobuf.ByteString msgID_ = com.google.protobuf.ByteString.EMPTY; /** * bytes msgID = 2; * @return The msgID. */ @java.lang.Override public com.google.protobuf.ByteString getMsgID() { return msgID_; } /** * bytes msgID = 2; * @param value The msgID to set. * @return This builder for chaining. */ public Builder setMsgID(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } msgID_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * bytes msgID = 2; * @return This builder for chaining. */ public Builder clearMsgID() { bitField0_ = (bitField0_ & ~0x00000002); msgID_ = getDefaultInstance().getMsgID(); onChanged(); return this; } private java.lang.Object msgGroup_ = ""; /** * string msgGroup = 3; * @return The msgGroup. */ public java.lang.String getMsgGroup() { java.lang.Object ref = msgGroup_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); msgGroup_ = s; return s; } else { return (java.lang.String) ref; } } /** * string msgGroup = 3; * @return The bytes for msgGroup. */ public com.google.protobuf.ByteString getMsgGroupBytes() { java.lang.Object ref = msgGroup_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); msgGroup_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string msgGroup = 3; * @param value The msgGroup to set. * @return This builder for chaining. */ public Builder setMsgGroup( java.lang.String value) { if (value == null) { throw new NullPointerException(); } msgGroup_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * string msgGroup = 3; * @return This builder for chaining. */ public Builder clearMsgGroup() { msgGroup_ = getDefaultInstance().getMsgGroup(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * string msgGroup = 3; * @param value The bytes for msgGroup to set. * @return This builder for chaining. */ public Builder setMsgGroupBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); msgGroup_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private long timestamp_ ; /** * uint64 timestamp = 4; * @return The timestamp. */ @java.lang.Override public long getTimestamp() { return timestamp_; } /** * uint64 timestamp = 4; * @param value The timestamp to set. * @return This builder for chaining. */ public Builder setTimestamp(long value) { timestamp_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * uint64 timestamp = 4; * @return This builder for chaining. */ public Builder clearTimestamp() { bitField0_ = (bitField0_ & ~0x00000008); timestamp_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:milvus.proto.msg.MsgPosition) } // @@protoc_insertion_point(class_scope:milvus.proto.msg.MsgPosition) private static final milvus.proto.msg.Msg.MsgPosition DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new milvus.proto.msg.Msg.MsgPosition(); } public static milvus.proto.msg.Msg.MsgPosition getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MsgPosition parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public milvus.proto.msg.Msg.MsgPosition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreateCollectionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:milvus.proto.msg.CreateCollectionRequest) com.google.protobuf.MessageOrBuilder { /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ boolean hasBase(); /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ io.milvus.grpc.MsgBase getBase(); /** * .milvus.proto.common.MsgBase base = 1; */ io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder(); /** * string db_name = 2; * @return The dbName. */ java.lang.String getDbName(); /** * string db_name = 2; * @return The bytes for dbName. */ com.google.protobuf.ByteString getDbNameBytes(); /** * string collectionName = 3; * @return The collectionName. */ java.lang.String getCollectionName(); /** * string collectionName = 3; * @return The bytes for collectionName. */ com.google.protobuf.ByteString getCollectionNameBytes(); /** * string partitionName = 4; * @return The partitionName. */ java.lang.String getPartitionName(); /** * string partitionName = 4; * @return The bytes for partitionName. */ com.google.protobuf.ByteString getPartitionNameBytes(); /** *
     * `schema` is the serialized `schema.CollectionSchema`
     * 
* * int64 dbID = 5; * @return The dbID. */ long getDbID(); /** * int64 collectionID = 6; * @return The collectionID. */ long getCollectionID(); /** *
     * deprecated
     * 
* * int64 partitionID = 7; * @return The partitionID. */ long getPartitionID(); /** * bytes schema = 8; * @return The schema. */ com.google.protobuf.ByteString getSchema(); /** * repeated string virtualChannelNames = 9; * @return A list containing the virtualChannelNames. */ java.util.List getVirtualChannelNamesList(); /** * repeated string virtualChannelNames = 9; * @return The count of virtualChannelNames. */ int getVirtualChannelNamesCount(); /** * repeated string virtualChannelNames = 9; * @param index The index of the element to return. * @return The virtualChannelNames at the given index. */ java.lang.String getVirtualChannelNames(int index); /** * repeated string virtualChannelNames = 9; * @param index The index of the value to return. * @return The bytes of the virtualChannelNames at the given index. */ com.google.protobuf.ByteString getVirtualChannelNamesBytes(int index); /** * repeated string physicalChannelNames = 10; * @return A list containing the physicalChannelNames. */ java.util.List getPhysicalChannelNamesList(); /** * repeated string physicalChannelNames = 10; * @return The count of physicalChannelNames. */ int getPhysicalChannelNamesCount(); /** * repeated string physicalChannelNames = 10; * @param index The index of the element to return. * @return The physicalChannelNames at the given index. */ java.lang.String getPhysicalChannelNames(int index); /** * repeated string physicalChannelNames = 10; * @param index The index of the value to return. * @return The bytes of the physicalChannelNames at the given index. */ com.google.protobuf.ByteString getPhysicalChannelNamesBytes(int index); /** * repeated int64 partitionIDs = 11; * @return A list containing the partitionIDs. */ java.util.List getPartitionIDsList(); /** * repeated int64 partitionIDs = 11; * @return The count of partitionIDs. */ int getPartitionIDsCount(); /** * repeated int64 partitionIDs = 11; * @param index The index of the element to return. * @return The partitionIDs at the given index. */ long getPartitionIDs(int index); } /** * Protobuf type {@code milvus.proto.msg.CreateCollectionRequest} */ public static final class CreateCollectionRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:milvus.proto.msg.CreateCollectionRequest) CreateCollectionRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CreateCollectionRequest.newBuilder() to construct. private CreateCollectionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateCollectionRequest() { dbName_ = ""; collectionName_ = ""; partitionName_ = ""; schema_ = com.google.protobuf.ByteString.EMPTY; virtualChannelNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); physicalChannelNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); partitionIDs_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateCollectionRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_CreateCollectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_CreateCollectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( milvus.proto.msg.Msg.CreateCollectionRequest.class, milvus.proto.msg.Msg.CreateCollectionRequest.Builder.class); } private int bitField0_; public static final int BASE_FIELD_NUMBER = 1; private io.milvus.grpc.MsgBase base_; /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ @java.lang.Override public boolean hasBase() { return ((bitField0_ & 0x00000001) != 0); } /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ @java.lang.Override public io.milvus.grpc.MsgBase getBase() { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } /** * .milvus.proto.common.MsgBase base = 1; */ @java.lang.Override public io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder() { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } public static final int DB_NAME_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object dbName_ = ""; /** * string db_name = 2; * @return The dbName. */ @java.lang.Override public java.lang.String getDbName() { java.lang.Object ref = dbName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dbName_ = s; return s; } } /** * string db_name = 2; * @return The bytes for dbName. */ @java.lang.Override public com.google.protobuf.ByteString getDbNameBytes() { java.lang.Object ref = dbName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dbName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COLLECTIONNAME_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object collectionName_ = ""; /** * string collectionName = 3; * @return The collectionName. */ @java.lang.Override public java.lang.String getCollectionName() { java.lang.Object ref = collectionName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionName_ = s; return s; } } /** * string collectionName = 3; * @return The bytes for collectionName. */ @java.lang.Override public com.google.protobuf.ByteString getCollectionNameBytes() { java.lang.Object ref = collectionName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); collectionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PARTITIONNAME_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object partitionName_ = ""; /** * string partitionName = 4; * @return The partitionName. */ @java.lang.Override public java.lang.String getPartitionName() { java.lang.Object ref = partitionName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partitionName_ = s; return s; } } /** * string partitionName = 4; * @return The bytes for partitionName. */ @java.lang.Override public com.google.protobuf.ByteString getPartitionNameBytes() { java.lang.Object ref = partitionName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); partitionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DBID_FIELD_NUMBER = 5; private long dbID_ = 0L; /** *
     * `schema` is the serialized `schema.CollectionSchema`
     * 
* * int64 dbID = 5; * @return The dbID. */ @java.lang.Override public long getDbID() { return dbID_; } public static final int COLLECTIONID_FIELD_NUMBER = 6; private long collectionID_ = 0L; /** * int64 collectionID = 6; * @return The collectionID. */ @java.lang.Override public long getCollectionID() { return collectionID_; } public static final int PARTITIONID_FIELD_NUMBER = 7; private long partitionID_ = 0L; /** *
     * deprecated
     * 
* * int64 partitionID = 7; * @return The partitionID. */ @java.lang.Override public long getPartitionID() { return partitionID_; } public static final int SCHEMA_FIELD_NUMBER = 8; private com.google.protobuf.ByteString schema_ = com.google.protobuf.ByteString.EMPTY; /** * bytes schema = 8; * @return The schema. */ @java.lang.Override public com.google.protobuf.ByteString getSchema() { return schema_; } public static final int VIRTUALCHANNELNAMES_FIELD_NUMBER = 9; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList virtualChannelNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string virtualChannelNames = 9; * @return A list containing the virtualChannelNames. */ public com.google.protobuf.ProtocolStringList getVirtualChannelNamesList() { return virtualChannelNames_; } /** * repeated string virtualChannelNames = 9; * @return The count of virtualChannelNames. */ public int getVirtualChannelNamesCount() { return virtualChannelNames_.size(); } /** * repeated string virtualChannelNames = 9; * @param index The index of the element to return. * @return The virtualChannelNames at the given index. */ public java.lang.String getVirtualChannelNames(int index) { return virtualChannelNames_.get(index); } /** * repeated string virtualChannelNames = 9; * @param index The index of the value to return. * @return The bytes of the virtualChannelNames at the given index. */ public com.google.protobuf.ByteString getVirtualChannelNamesBytes(int index) { return virtualChannelNames_.getByteString(index); } public static final int PHYSICALCHANNELNAMES_FIELD_NUMBER = 10; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList physicalChannelNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string physicalChannelNames = 10; * @return A list containing the physicalChannelNames. */ public com.google.protobuf.ProtocolStringList getPhysicalChannelNamesList() { return physicalChannelNames_; } /** * repeated string physicalChannelNames = 10; * @return The count of physicalChannelNames. */ public int getPhysicalChannelNamesCount() { return physicalChannelNames_.size(); } /** * repeated string physicalChannelNames = 10; * @param index The index of the element to return. * @return The physicalChannelNames at the given index. */ public java.lang.String getPhysicalChannelNames(int index) { return physicalChannelNames_.get(index); } /** * repeated string physicalChannelNames = 10; * @param index The index of the value to return. * @return The bytes of the physicalChannelNames at the given index. */ public com.google.protobuf.ByteString getPhysicalChannelNamesBytes(int index) { return physicalChannelNames_.getByteString(index); } public static final int PARTITIONIDS_FIELD_NUMBER = 11; @SuppressWarnings("serial") private com.google.protobuf.Internal.LongList partitionIDs_ = emptyLongList(); /** * repeated int64 partitionIDs = 11; * @return A list containing the partitionIDs. */ @java.lang.Override public java.util.List getPartitionIDsList() { return partitionIDs_; } /** * repeated int64 partitionIDs = 11; * @return The count of partitionIDs. */ public int getPartitionIDsCount() { return partitionIDs_.size(); } /** * repeated int64 partitionIDs = 11; * @param index The index of the element to return. * @return The partitionIDs at the given index. */ public long getPartitionIDs(int index) { return partitionIDs_.getLong(index); } private int partitionIDsMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getBase()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dbName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, dbName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collectionName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, collectionName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, partitionName_); } if (dbID_ != 0L) { output.writeInt64(5, dbID_); } if (collectionID_ != 0L) { output.writeInt64(6, collectionID_); } if (partitionID_ != 0L) { output.writeInt64(7, partitionID_); } if (!schema_.isEmpty()) { output.writeBytes(8, schema_); } for (int i = 0; i < virtualChannelNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, virtualChannelNames_.getRaw(i)); } for (int i = 0; i < physicalChannelNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, physicalChannelNames_.getRaw(i)); } if (getPartitionIDsList().size() > 0) { output.writeUInt32NoTag(90); output.writeUInt32NoTag(partitionIDsMemoizedSerializedSize); } for (int i = 0; i < partitionIDs_.size(); i++) { output.writeInt64NoTag(partitionIDs_.getLong(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getBase()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dbName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dbName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collectionName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, collectionName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, partitionName_); } if (dbID_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, dbID_); } if (collectionID_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, collectionID_); } if (partitionID_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, partitionID_); } if (!schema_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(8, schema_); } { int dataSize = 0; for (int i = 0; i < virtualChannelNames_.size(); i++) { dataSize += computeStringSizeNoTag(virtualChannelNames_.getRaw(i)); } size += dataSize; size += 1 * getVirtualChannelNamesList().size(); } { int dataSize = 0; for (int i = 0; i < physicalChannelNames_.size(); i++) { dataSize += computeStringSizeNoTag(physicalChannelNames_.getRaw(i)); } size += dataSize; size += 1 * getPhysicalChannelNamesList().size(); } { int dataSize = 0; for (int i = 0; i < partitionIDs_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(partitionIDs_.getLong(i)); } size += dataSize; if (!getPartitionIDsList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } partitionIDsMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof milvus.proto.msg.Msg.CreateCollectionRequest)) { return super.equals(obj); } milvus.proto.msg.Msg.CreateCollectionRequest other = (milvus.proto.msg.Msg.CreateCollectionRequest) obj; if (hasBase() != other.hasBase()) return false; if (hasBase()) { if (!getBase() .equals(other.getBase())) return false; } if (!getDbName() .equals(other.getDbName())) return false; if (!getCollectionName() .equals(other.getCollectionName())) return false; if (!getPartitionName() .equals(other.getPartitionName())) return false; if (getDbID() != other.getDbID()) return false; if (getCollectionID() != other.getCollectionID()) return false; if (getPartitionID() != other.getPartitionID()) return false; if (!getSchema() .equals(other.getSchema())) return false; if (!getVirtualChannelNamesList() .equals(other.getVirtualChannelNamesList())) return false; if (!getPhysicalChannelNamesList() .equals(other.getPhysicalChannelNamesList())) return false; if (!getPartitionIDsList() .equals(other.getPartitionIDsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasBase()) { hash = (37 * hash) + BASE_FIELD_NUMBER; hash = (53 * hash) + getBase().hashCode(); } hash = (37 * hash) + DB_NAME_FIELD_NUMBER; hash = (53 * hash) + getDbName().hashCode(); hash = (37 * hash) + COLLECTIONNAME_FIELD_NUMBER; hash = (53 * hash) + getCollectionName().hashCode(); hash = (37 * hash) + PARTITIONNAME_FIELD_NUMBER; hash = (53 * hash) + getPartitionName().hashCode(); hash = (37 * hash) + DBID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDbID()); hash = (37 * hash) + COLLECTIONID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCollectionID()); hash = (37 * hash) + PARTITIONID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPartitionID()); hash = (37 * hash) + SCHEMA_FIELD_NUMBER; hash = (53 * hash) + getSchema().hashCode(); if (getVirtualChannelNamesCount() > 0) { hash = (37 * hash) + VIRTUALCHANNELNAMES_FIELD_NUMBER; hash = (53 * hash) + getVirtualChannelNamesList().hashCode(); } if (getPhysicalChannelNamesCount() > 0) { hash = (37 * hash) + PHYSICALCHANNELNAMES_FIELD_NUMBER; hash = (53 * hash) + getPhysicalChannelNamesList().hashCode(); } if (getPartitionIDsCount() > 0) { hash = (37 * hash) + PARTITIONIDS_FIELD_NUMBER; hash = (53 * hash) + getPartitionIDsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static milvus.proto.msg.Msg.CreateCollectionRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.CreateCollectionRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.CreateCollectionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.CreateCollectionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.CreateCollectionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.CreateCollectionRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.CreateCollectionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.CreateCollectionRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static milvus.proto.msg.Msg.CreateCollectionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.CreateCollectionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static milvus.proto.msg.Msg.CreateCollectionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.CreateCollectionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(milvus.proto.msg.Msg.CreateCollectionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code milvus.proto.msg.CreateCollectionRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:milvus.proto.msg.CreateCollectionRequest) milvus.proto.msg.Msg.CreateCollectionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_CreateCollectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_CreateCollectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( milvus.proto.msg.Msg.CreateCollectionRequest.class, milvus.proto.msg.Msg.CreateCollectionRequest.Builder.class); } // Construct using milvus.proto.msg.Msg.CreateCollectionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBaseFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; base_ = null; if (baseBuilder_ != null) { baseBuilder_.dispose(); baseBuilder_ = null; } dbName_ = ""; collectionName_ = ""; partitionName_ = ""; dbID_ = 0L; collectionID_ = 0L; partitionID_ = 0L; schema_ = com.google.protobuf.ByteString.EMPTY; virtualChannelNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); physicalChannelNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); partitionIDs_ = emptyLongList(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_CreateCollectionRequest_descriptor; } @java.lang.Override public milvus.proto.msg.Msg.CreateCollectionRequest getDefaultInstanceForType() { return milvus.proto.msg.Msg.CreateCollectionRequest.getDefaultInstance(); } @java.lang.Override public milvus.proto.msg.Msg.CreateCollectionRequest build() { milvus.proto.msg.Msg.CreateCollectionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public milvus.proto.msg.Msg.CreateCollectionRequest buildPartial() { milvus.proto.msg.Msg.CreateCollectionRequest result = new milvus.proto.msg.Msg.CreateCollectionRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(milvus.proto.msg.Msg.CreateCollectionRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.base_ = baseBuilder_ == null ? base_ : baseBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.dbName_ = dbName_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.collectionName_ = collectionName_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.partitionName_ = partitionName_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.dbID_ = dbID_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.collectionID_ = collectionID_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.partitionID_ = partitionID_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.schema_ = schema_; } if (((from_bitField0_ & 0x00000100) != 0)) { virtualChannelNames_.makeImmutable(); result.virtualChannelNames_ = virtualChannelNames_; } if (((from_bitField0_ & 0x00000200) != 0)) { physicalChannelNames_.makeImmutable(); result.physicalChannelNames_ = physicalChannelNames_; } if (((from_bitField0_ & 0x00000400) != 0)) { partitionIDs_.makeImmutable(); result.partitionIDs_ = partitionIDs_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof milvus.proto.msg.Msg.CreateCollectionRequest) { return mergeFrom((milvus.proto.msg.Msg.CreateCollectionRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(milvus.proto.msg.Msg.CreateCollectionRequest other) { if (other == milvus.proto.msg.Msg.CreateCollectionRequest.getDefaultInstance()) return this; if (other.hasBase()) { mergeBase(other.getBase()); } if (!other.getDbName().isEmpty()) { dbName_ = other.dbName_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getCollectionName().isEmpty()) { collectionName_ = other.collectionName_; bitField0_ |= 0x00000004; onChanged(); } if (!other.getPartitionName().isEmpty()) { partitionName_ = other.partitionName_; bitField0_ |= 0x00000008; onChanged(); } if (other.getDbID() != 0L) { setDbID(other.getDbID()); } if (other.getCollectionID() != 0L) { setCollectionID(other.getCollectionID()); } if (other.getPartitionID() != 0L) { setPartitionID(other.getPartitionID()); } if (other.getSchema() != com.google.protobuf.ByteString.EMPTY) { setSchema(other.getSchema()); } if (!other.virtualChannelNames_.isEmpty()) { if (virtualChannelNames_.isEmpty()) { virtualChannelNames_ = other.virtualChannelNames_; bitField0_ |= 0x00000100; } else { ensureVirtualChannelNamesIsMutable(); virtualChannelNames_.addAll(other.virtualChannelNames_); } onChanged(); } if (!other.physicalChannelNames_.isEmpty()) { if (physicalChannelNames_.isEmpty()) { physicalChannelNames_ = other.physicalChannelNames_; bitField0_ |= 0x00000200; } else { ensurePhysicalChannelNamesIsMutable(); physicalChannelNames_.addAll(other.physicalChannelNames_); } onChanged(); } if (!other.partitionIDs_.isEmpty()) { if (partitionIDs_.isEmpty()) { partitionIDs_ = other.partitionIDs_; partitionIDs_.makeImmutable(); bitField0_ |= 0x00000400; } else { ensurePartitionIDsIsMutable(); partitionIDs_.addAll(other.partitionIDs_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getBaseFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { dbName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { collectionName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { partitionName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 case 40: { dbID_ = input.readInt64(); bitField0_ |= 0x00000010; break; } // case 40 case 48: { collectionID_ = input.readInt64(); bitField0_ |= 0x00000020; break; } // case 48 case 56: { partitionID_ = input.readInt64(); bitField0_ |= 0x00000040; break; } // case 56 case 66: { schema_ = input.readBytes(); bitField0_ |= 0x00000080; break; } // case 66 case 74: { java.lang.String s = input.readStringRequireUtf8(); ensureVirtualChannelNamesIsMutable(); virtualChannelNames_.add(s); break; } // case 74 case 82: { java.lang.String s = input.readStringRequireUtf8(); ensurePhysicalChannelNamesIsMutable(); physicalChannelNames_.add(s); break; } // case 82 case 88: { long v = input.readInt64(); ensurePartitionIDsIsMutable(); partitionIDs_.addLong(v); break; } // case 88 case 90: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); ensurePartitionIDsIsMutable(); while (input.getBytesUntilLimit() > 0) { partitionIDs_.addLong(input.readInt64()); } input.popLimit(limit); break; } // case 90 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private io.milvus.grpc.MsgBase base_; private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder> baseBuilder_; /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ public boolean hasBase() { return ((bitField0_ & 0x00000001) != 0); } /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ public io.milvus.grpc.MsgBase getBase() { if (baseBuilder_ == null) { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } else { return baseBuilder_.getMessage(); } } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder setBase(io.milvus.grpc.MsgBase value) { if (baseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } base_ = value; } else { baseBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder setBase( io.milvus.grpc.MsgBase.Builder builderForValue) { if (baseBuilder_ == null) { base_ = builderForValue.build(); } else { baseBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder mergeBase(io.milvus.grpc.MsgBase value) { if (baseBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && base_ != null && base_ != io.milvus.grpc.MsgBase.getDefaultInstance()) { getBaseBuilder().mergeFrom(value); } else { base_ = value; } } else { baseBuilder_.mergeFrom(value); } if (base_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder clearBase() { bitField0_ = (bitField0_ & ~0x00000001); base_ = null; if (baseBuilder_ != null) { baseBuilder_.dispose(); baseBuilder_ = null; } onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public io.milvus.grpc.MsgBase.Builder getBaseBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBaseFieldBuilder().getBuilder(); } /** * .milvus.proto.common.MsgBase base = 1; */ public io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder() { if (baseBuilder_ != null) { return baseBuilder_.getMessageOrBuilder(); } else { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } } /** * .milvus.proto.common.MsgBase base = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder> getBaseFieldBuilder() { if (baseBuilder_ == null) { baseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder>( getBase(), getParentForChildren(), isClean()); base_ = null; } return baseBuilder_; } private java.lang.Object dbName_ = ""; /** * string db_name = 2; * @return The dbName. */ public java.lang.String getDbName() { java.lang.Object ref = dbName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dbName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string db_name = 2; * @return The bytes for dbName. */ public com.google.protobuf.ByteString getDbNameBytes() { java.lang.Object ref = dbName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dbName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string db_name = 2; * @param value The dbName to set. * @return This builder for chaining. */ public Builder setDbName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } dbName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * string db_name = 2; * @return This builder for chaining. */ public Builder clearDbName() { dbName_ = getDefaultInstance().getDbName(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * string db_name = 2; * @param value The bytes for dbName to set. * @return This builder for chaining. */ public Builder setDbNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dbName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object collectionName_ = ""; /** * string collectionName = 3; * @return The collectionName. */ public java.lang.String getCollectionName() { java.lang.Object ref = collectionName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string collectionName = 3; * @return The bytes for collectionName. */ public com.google.protobuf.ByteString getCollectionNameBytes() { java.lang.Object ref = collectionName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); collectionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string collectionName = 3; * @param value The collectionName to set. * @return This builder for chaining. */ public Builder setCollectionName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } collectionName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * string collectionName = 3; * @return This builder for chaining. */ public Builder clearCollectionName() { collectionName_ = getDefaultInstance().getCollectionName(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * string collectionName = 3; * @param value The bytes for collectionName to set. * @return This builder for chaining. */ public Builder setCollectionNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); collectionName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.lang.Object partitionName_ = ""; /** * string partitionName = 4; * @return The partitionName. */ public java.lang.String getPartitionName() { java.lang.Object ref = partitionName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partitionName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string partitionName = 4; * @return The bytes for partitionName. */ public com.google.protobuf.ByteString getPartitionNameBytes() { java.lang.Object ref = partitionName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); partitionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string partitionName = 4; * @param value The partitionName to set. * @return This builder for chaining. */ public Builder setPartitionName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } partitionName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * string partitionName = 4; * @return This builder for chaining. */ public Builder clearPartitionName() { partitionName_ = getDefaultInstance().getPartitionName(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** * string partitionName = 4; * @param value The bytes for partitionName to set. * @return This builder for chaining. */ public Builder setPartitionNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); partitionName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private long dbID_ ; /** *
       * `schema` is the serialized `schema.CollectionSchema`
       * 
* * int64 dbID = 5; * @return The dbID. */ @java.lang.Override public long getDbID() { return dbID_; } /** *
       * `schema` is the serialized `schema.CollectionSchema`
       * 
* * int64 dbID = 5; * @param value The dbID to set. * @return This builder for chaining. */ public Builder setDbID(long value) { dbID_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * `schema` is the serialized `schema.CollectionSchema`
       * 
* * int64 dbID = 5; * @return This builder for chaining. */ public Builder clearDbID() { bitField0_ = (bitField0_ & ~0x00000010); dbID_ = 0L; onChanged(); return this; } private long collectionID_ ; /** * int64 collectionID = 6; * @return The collectionID. */ @java.lang.Override public long getCollectionID() { return collectionID_; } /** * int64 collectionID = 6; * @param value The collectionID to set. * @return This builder for chaining. */ public Builder setCollectionID(long value) { collectionID_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** * int64 collectionID = 6; * @return This builder for chaining. */ public Builder clearCollectionID() { bitField0_ = (bitField0_ & ~0x00000020); collectionID_ = 0L; onChanged(); return this; } private long partitionID_ ; /** *
       * deprecated
       * 
* * int64 partitionID = 7; * @return The partitionID. */ @java.lang.Override public long getPartitionID() { return partitionID_; } /** *
       * deprecated
       * 
* * int64 partitionID = 7; * @param value The partitionID to set. * @return This builder for chaining. */ public Builder setPartitionID(long value) { partitionID_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
       * deprecated
       * 
* * int64 partitionID = 7; * @return This builder for chaining. */ public Builder clearPartitionID() { bitField0_ = (bitField0_ & ~0x00000040); partitionID_ = 0L; onChanged(); return this; } private com.google.protobuf.ByteString schema_ = com.google.protobuf.ByteString.EMPTY; /** * bytes schema = 8; * @return The schema. */ @java.lang.Override public com.google.protobuf.ByteString getSchema() { return schema_; } /** * bytes schema = 8; * @param value The schema to set. * @return This builder for chaining. */ public Builder setSchema(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } schema_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** * bytes schema = 8; * @return This builder for chaining. */ public Builder clearSchema() { bitField0_ = (bitField0_ & ~0x00000080); schema_ = getDefaultInstance().getSchema(); onChanged(); return this; } private com.google.protobuf.LazyStringArrayList virtualChannelNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureVirtualChannelNamesIsMutable() { if (!virtualChannelNames_.isModifiable()) { virtualChannelNames_ = new com.google.protobuf.LazyStringArrayList(virtualChannelNames_); } bitField0_ |= 0x00000100; } /** * repeated string virtualChannelNames = 9; * @return A list containing the virtualChannelNames. */ public com.google.protobuf.ProtocolStringList getVirtualChannelNamesList() { virtualChannelNames_.makeImmutable(); return virtualChannelNames_; } /** * repeated string virtualChannelNames = 9; * @return The count of virtualChannelNames. */ public int getVirtualChannelNamesCount() { return virtualChannelNames_.size(); } /** * repeated string virtualChannelNames = 9; * @param index The index of the element to return. * @return The virtualChannelNames at the given index. */ public java.lang.String getVirtualChannelNames(int index) { return virtualChannelNames_.get(index); } /** * repeated string virtualChannelNames = 9; * @param index The index of the value to return. * @return The bytes of the virtualChannelNames at the given index. */ public com.google.protobuf.ByteString getVirtualChannelNamesBytes(int index) { return virtualChannelNames_.getByteString(index); } /** * repeated string virtualChannelNames = 9; * @param index The index to set the value at. * @param value The virtualChannelNames to set. * @return This builder for chaining. */ public Builder setVirtualChannelNames( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureVirtualChannelNamesIsMutable(); virtualChannelNames_.set(index, value); bitField0_ |= 0x00000100; onChanged(); return this; } /** * repeated string virtualChannelNames = 9; * @param value The virtualChannelNames to add. * @return This builder for chaining. */ public Builder addVirtualChannelNames( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureVirtualChannelNamesIsMutable(); virtualChannelNames_.add(value); bitField0_ |= 0x00000100; onChanged(); return this; } /** * repeated string virtualChannelNames = 9; * @param values The virtualChannelNames to add. * @return This builder for chaining. */ public Builder addAllVirtualChannelNames( java.lang.Iterable values) { ensureVirtualChannelNamesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, virtualChannelNames_); bitField0_ |= 0x00000100; onChanged(); return this; } /** * repeated string virtualChannelNames = 9; * @return This builder for chaining. */ public Builder clearVirtualChannelNames() { virtualChannelNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000100);; onChanged(); return this; } /** * repeated string virtualChannelNames = 9; * @param value The bytes of the virtualChannelNames to add. * @return This builder for chaining. */ public Builder addVirtualChannelNamesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureVirtualChannelNamesIsMutable(); virtualChannelNames_.add(value); bitField0_ |= 0x00000100; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList physicalChannelNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePhysicalChannelNamesIsMutable() { if (!physicalChannelNames_.isModifiable()) { physicalChannelNames_ = new com.google.protobuf.LazyStringArrayList(physicalChannelNames_); } bitField0_ |= 0x00000200; } /** * repeated string physicalChannelNames = 10; * @return A list containing the physicalChannelNames. */ public com.google.protobuf.ProtocolStringList getPhysicalChannelNamesList() { physicalChannelNames_.makeImmutable(); return physicalChannelNames_; } /** * repeated string physicalChannelNames = 10; * @return The count of physicalChannelNames. */ public int getPhysicalChannelNamesCount() { return physicalChannelNames_.size(); } /** * repeated string physicalChannelNames = 10; * @param index The index of the element to return. * @return The physicalChannelNames at the given index. */ public java.lang.String getPhysicalChannelNames(int index) { return physicalChannelNames_.get(index); } /** * repeated string physicalChannelNames = 10; * @param index The index of the value to return. * @return The bytes of the physicalChannelNames at the given index. */ public com.google.protobuf.ByteString getPhysicalChannelNamesBytes(int index) { return physicalChannelNames_.getByteString(index); } /** * repeated string physicalChannelNames = 10; * @param index The index to set the value at. * @param value The physicalChannelNames to set. * @return This builder for chaining. */ public Builder setPhysicalChannelNames( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePhysicalChannelNamesIsMutable(); physicalChannelNames_.set(index, value); bitField0_ |= 0x00000200; onChanged(); return this; } /** * repeated string physicalChannelNames = 10; * @param value The physicalChannelNames to add. * @return This builder for chaining. */ public Builder addPhysicalChannelNames( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePhysicalChannelNamesIsMutable(); physicalChannelNames_.add(value); bitField0_ |= 0x00000200; onChanged(); return this; } /** * repeated string physicalChannelNames = 10; * @param values The physicalChannelNames to add. * @return This builder for chaining. */ public Builder addAllPhysicalChannelNames( java.lang.Iterable values) { ensurePhysicalChannelNamesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, physicalChannelNames_); bitField0_ |= 0x00000200; onChanged(); return this; } /** * repeated string physicalChannelNames = 10; * @return This builder for chaining. */ public Builder clearPhysicalChannelNames() { physicalChannelNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000200);; onChanged(); return this; } /** * repeated string physicalChannelNames = 10; * @param value The bytes of the physicalChannelNames to add. * @return This builder for chaining. */ public Builder addPhysicalChannelNamesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePhysicalChannelNamesIsMutable(); physicalChannelNames_.add(value); bitField0_ |= 0x00000200; onChanged(); return this; } private com.google.protobuf.Internal.LongList partitionIDs_ = emptyLongList(); private void ensurePartitionIDsIsMutable() { if (!partitionIDs_.isModifiable()) { partitionIDs_ = makeMutableCopy(partitionIDs_); } bitField0_ |= 0x00000400; } /** * repeated int64 partitionIDs = 11; * @return A list containing the partitionIDs. */ public java.util.List getPartitionIDsList() { partitionIDs_.makeImmutable(); return partitionIDs_; } /** * repeated int64 partitionIDs = 11; * @return The count of partitionIDs. */ public int getPartitionIDsCount() { return partitionIDs_.size(); } /** * repeated int64 partitionIDs = 11; * @param index The index of the element to return. * @return The partitionIDs at the given index. */ public long getPartitionIDs(int index) { return partitionIDs_.getLong(index); } /** * repeated int64 partitionIDs = 11; * @param index The index to set the value at. * @param value The partitionIDs to set. * @return This builder for chaining. */ public Builder setPartitionIDs( int index, long value) { ensurePartitionIDsIsMutable(); partitionIDs_.setLong(index, value); bitField0_ |= 0x00000400; onChanged(); return this; } /** * repeated int64 partitionIDs = 11; * @param value The partitionIDs to add. * @return This builder for chaining. */ public Builder addPartitionIDs(long value) { ensurePartitionIDsIsMutable(); partitionIDs_.addLong(value); bitField0_ |= 0x00000400; onChanged(); return this; } /** * repeated int64 partitionIDs = 11; * @param values The partitionIDs to add. * @return This builder for chaining. */ public Builder addAllPartitionIDs( java.lang.Iterable values) { ensurePartitionIDsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, partitionIDs_); bitField0_ |= 0x00000400; onChanged(); return this; } /** * repeated int64 partitionIDs = 11; * @return This builder for chaining. */ public Builder clearPartitionIDs() { partitionIDs_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:milvus.proto.msg.CreateCollectionRequest) } // @@protoc_insertion_point(class_scope:milvus.proto.msg.CreateCollectionRequest) private static final milvus.proto.msg.Msg.CreateCollectionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new milvus.proto.msg.Msg.CreateCollectionRequest(); } public static milvus.proto.msg.Msg.CreateCollectionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateCollectionRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public milvus.proto.msg.Msg.CreateCollectionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropCollectionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:milvus.proto.msg.DropCollectionRequest) com.google.protobuf.MessageOrBuilder { /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ boolean hasBase(); /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ io.milvus.grpc.MsgBase getBase(); /** * .milvus.proto.common.MsgBase base = 1; */ io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder(); /** * string db_name = 2; * @return The dbName. */ java.lang.String getDbName(); /** * string db_name = 2; * @return The bytes for dbName. */ com.google.protobuf.ByteString getDbNameBytes(); /** * string collectionName = 3; * @return The collectionName. */ java.lang.String getCollectionName(); /** * string collectionName = 3; * @return The bytes for collectionName. */ com.google.protobuf.ByteString getCollectionNameBytes(); /** * int64 dbID = 4; * @return The dbID. */ long getDbID(); /** * int64 collectionID = 5; * @return The collectionID. */ long getCollectionID(); } /** * Protobuf type {@code milvus.proto.msg.DropCollectionRequest} */ public static final class DropCollectionRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:milvus.proto.msg.DropCollectionRequest) DropCollectionRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DropCollectionRequest.newBuilder() to construct. private DropCollectionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropCollectionRequest() { dbName_ = ""; collectionName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropCollectionRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_DropCollectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_DropCollectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( milvus.proto.msg.Msg.DropCollectionRequest.class, milvus.proto.msg.Msg.DropCollectionRequest.Builder.class); } private int bitField0_; public static final int BASE_FIELD_NUMBER = 1; private io.milvus.grpc.MsgBase base_; /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ @java.lang.Override public boolean hasBase() { return ((bitField0_ & 0x00000001) != 0); } /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ @java.lang.Override public io.milvus.grpc.MsgBase getBase() { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } /** * .milvus.proto.common.MsgBase base = 1; */ @java.lang.Override public io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder() { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } public static final int DB_NAME_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object dbName_ = ""; /** * string db_name = 2; * @return The dbName. */ @java.lang.Override public java.lang.String getDbName() { java.lang.Object ref = dbName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dbName_ = s; return s; } } /** * string db_name = 2; * @return The bytes for dbName. */ @java.lang.Override public com.google.protobuf.ByteString getDbNameBytes() { java.lang.Object ref = dbName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dbName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COLLECTIONNAME_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object collectionName_ = ""; /** * string collectionName = 3; * @return The collectionName. */ @java.lang.Override public java.lang.String getCollectionName() { java.lang.Object ref = collectionName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionName_ = s; return s; } } /** * string collectionName = 3; * @return The bytes for collectionName. */ @java.lang.Override public com.google.protobuf.ByteString getCollectionNameBytes() { java.lang.Object ref = collectionName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); collectionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DBID_FIELD_NUMBER = 4; private long dbID_ = 0L; /** * int64 dbID = 4; * @return The dbID. */ @java.lang.Override public long getDbID() { return dbID_; } public static final int COLLECTIONID_FIELD_NUMBER = 5; private long collectionID_ = 0L; /** * int64 collectionID = 5; * @return The collectionID. */ @java.lang.Override public long getCollectionID() { return collectionID_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getBase()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dbName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, dbName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collectionName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, collectionName_); } if (dbID_ != 0L) { output.writeInt64(4, dbID_); } if (collectionID_ != 0L) { output.writeInt64(5, collectionID_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getBase()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dbName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dbName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collectionName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, collectionName_); } if (dbID_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, dbID_); } if (collectionID_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, collectionID_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof milvus.proto.msg.Msg.DropCollectionRequest)) { return super.equals(obj); } milvus.proto.msg.Msg.DropCollectionRequest other = (milvus.proto.msg.Msg.DropCollectionRequest) obj; if (hasBase() != other.hasBase()) return false; if (hasBase()) { if (!getBase() .equals(other.getBase())) return false; } if (!getDbName() .equals(other.getDbName())) return false; if (!getCollectionName() .equals(other.getCollectionName())) return false; if (getDbID() != other.getDbID()) return false; if (getCollectionID() != other.getCollectionID()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasBase()) { hash = (37 * hash) + BASE_FIELD_NUMBER; hash = (53 * hash) + getBase().hashCode(); } hash = (37 * hash) + DB_NAME_FIELD_NUMBER; hash = (53 * hash) + getDbName().hashCode(); hash = (37 * hash) + COLLECTIONNAME_FIELD_NUMBER; hash = (53 * hash) + getCollectionName().hashCode(); hash = (37 * hash) + DBID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDbID()); hash = (37 * hash) + COLLECTIONID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCollectionID()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static milvus.proto.msg.Msg.DropCollectionRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.DropCollectionRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.DropCollectionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.DropCollectionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.DropCollectionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.DropCollectionRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.DropCollectionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.DropCollectionRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static milvus.proto.msg.Msg.DropCollectionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.DropCollectionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static milvus.proto.msg.Msg.DropCollectionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.DropCollectionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(milvus.proto.msg.Msg.DropCollectionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code milvus.proto.msg.DropCollectionRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:milvus.proto.msg.DropCollectionRequest) milvus.proto.msg.Msg.DropCollectionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_DropCollectionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_DropCollectionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( milvus.proto.msg.Msg.DropCollectionRequest.class, milvus.proto.msg.Msg.DropCollectionRequest.Builder.class); } // Construct using milvus.proto.msg.Msg.DropCollectionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBaseFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; base_ = null; if (baseBuilder_ != null) { baseBuilder_.dispose(); baseBuilder_ = null; } dbName_ = ""; collectionName_ = ""; dbID_ = 0L; collectionID_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_DropCollectionRequest_descriptor; } @java.lang.Override public milvus.proto.msg.Msg.DropCollectionRequest getDefaultInstanceForType() { return milvus.proto.msg.Msg.DropCollectionRequest.getDefaultInstance(); } @java.lang.Override public milvus.proto.msg.Msg.DropCollectionRequest build() { milvus.proto.msg.Msg.DropCollectionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public milvus.proto.msg.Msg.DropCollectionRequest buildPartial() { milvus.proto.msg.Msg.DropCollectionRequest result = new milvus.proto.msg.Msg.DropCollectionRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(milvus.proto.msg.Msg.DropCollectionRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.base_ = baseBuilder_ == null ? base_ : baseBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.dbName_ = dbName_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.collectionName_ = collectionName_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.dbID_ = dbID_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.collectionID_ = collectionID_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof milvus.proto.msg.Msg.DropCollectionRequest) { return mergeFrom((milvus.proto.msg.Msg.DropCollectionRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(milvus.proto.msg.Msg.DropCollectionRequest other) { if (other == milvus.proto.msg.Msg.DropCollectionRequest.getDefaultInstance()) return this; if (other.hasBase()) { mergeBase(other.getBase()); } if (!other.getDbName().isEmpty()) { dbName_ = other.dbName_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getCollectionName().isEmpty()) { collectionName_ = other.collectionName_; bitField0_ |= 0x00000004; onChanged(); } if (other.getDbID() != 0L) { setDbID(other.getDbID()); } if (other.getCollectionID() != 0L) { setCollectionID(other.getCollectionID()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getBaseFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { dbName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { collectionName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 32: { dbID_ = input.readInt64(); bitField0_ |= 0x00000008; break; } // case 32 case 40: { collectionID_ = input.readInt64(); bitField0_ |= 0x00000010; break; } // case 40 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private io.milvus.grpc.MsgBase base_; private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder> baseBuilder_; /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ public boolean hasBase() { return ((bitField0_ & 0x00000001) != 0); } /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ public io.milvus.grpc.MsgBase getBase() { if (baseBuilder_ == null) { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } else { return baseBuilder_.getMessage(); } } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder setBase(io.milvus.grpc.MsgBase value) { if (baseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } base_ = value; } else { baseBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder setBase( io.milvus.grpc.MsgBase.Builder builderForValue) { if (baseBuilder_ == null) { base_ = builderForValue.build(); } else { baseBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder mergeBase(io.milvus.grpc.MsgBase value) { if (baseBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && base_ != null && base_ != io.milvus.grpc.MsgBase.getDefaultInstance()) { getBaseBuilder().mergeFrom(value); } else { base_ = value; } } else { baseBuilder_.mergeFrom(value); } if (base_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder clearBase() { bitField0_ = (bitField0_ & ~0x00000001); base_ = null; if (baseBuilder_ != null) { baseBuilder_.dispose(); baseBuilder_ = null; } onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public io.milvus.grpc.MsgBase.Builder getBaseBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBaseFieldBuilder().getBuilder(); } /** * .milvus.proto.common.MsgBase base = 1; */ public io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder() { if (baseBuilder_ != null) { return baseBuilder_.getMessageOrBuilder(); } else { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } } /** * .milvus.proto.common.MsgBase base = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder> getBaseFieldBuilder() { if (baseBuilder_ == null) { baseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder>( getBase(), getParentForChildren(), isClean()); base_ = null; } return baseBuilder_; } private java.lang.Object dbName_ = ""; /** * string db_name = 2; * @return The dbName. */ public java.lang.String getDbName() { java.lang.Object ref = dbName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dbName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string db_name = 2; * @return The bytes for dbName. */ public com.google.protobuf.ByteString getDbNameBytes() { java.lang.Object ref = dbName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dbName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string db_name = 2; * @param value The dbName to set. * @return This builder for chaining. */ public Builder setDbName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } dbName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * string db_name = 2; * @return This builder for chaining. */ public Builder clearDbName() { dbName_ = getDefaultInstance().getDbName(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * string db_name = 2; * @param value The bytes for dbName to set. * @return This builder for chaining. */ public Builder setDbNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dbName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object collectionName_ = ""; /** * string collectionName = 3; * @return The collectionName. */ public java.lang.String getCollectionName() { java.lang.Object ref = collectionName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string collectionName = 3; * @return The bytes for collectionName. */ public com.google.protobuf.ByteString getCollectionNameBytes() { java.lang.Object ref = collectionName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); collectionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string collectionName = 3; * @param value The collectionName to set. * @return This builder for chaining. */ public Builder setCollectionName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } collectionName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * string collectionName = 3; * @return This builder for chaining. */ public Builder clearCollectionName() { collectionName_ = getDefaultInstance().getCollectionName(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * string collectionName = 3; * @param value The bytes for collectionName to set. * @return This builder for chaining. */ public Builder setCollectionNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); collectionName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private long dbID_ ; /** * int64 dbID = 4; * @return The dbID. */ @java.lang.Override public long getDbID() { return dbID_; } /** * int64 dbID = 4; * @param value The dbID to set. * @return This builder for chaining. */ public Builder setDbID(long value) { dbID_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * int64 dbID = 4; * @return This builder for chaining. */ public Builder clearDbID() { bitField0_ = (bitField0_ & ~0x00000008); dbID_ = 0L; onChanged(); return this; } private long collectionID_ ; /** * int64 collectionID = 5; * @return The collectionID. */ @java.lang.Override public long getCollectionID() { return collectionID_; } /** * int64 collectionID = 5; * @param value The collectionID to set. * @return This builder for chaining. */ public Builder setCollectionID(long value) { collectionID_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * int64 collectionID = 5; * @return This builder for chaining. */ public Builder clearCollectionID() { bitField0_ = (bitField0_ & ~0x00000010); collectionID_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:milvus.proto.msg.DropCollectionRequest) } // @@protoc_insertion_point(class_scope:milvus.proto.msg.DropCollectionRequest) private static final milvus.proto.msg.Msg.DropCollectionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new milvus.proto.msg.Msg.DropCollectionRequest(); } public static milvus.proto.msg.Msg.DropCollectionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropCollectionRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public milvus.proto.msg.Msg.DropCollectionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreatePartitionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:milvus.proto.msg.CreatePartitionRequest) com.google.protobuf.MessageOrBuilder { /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ boolean hasBase(); /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ io.milvus.grpc.MsgBase getBase(); /** * .milvus.proto.common.MsgBase base = 1; */ io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder(); /** * string db_name = 2; * @return The dbName. */ java.lang.String getDbName(); /** * string db_name = 2; * @return The bytes for dbName. */ com.google.protobuf.ByteString getDbNameBytes(); /** * string collection_name = 3; * @return The collectionName. */ java.lang.String getCollectionName(); /** * string collection_name = 3; * @return The bytes for collectionName. */ com.google.protobuf.ByteString getCollectionNameBytes(); /** * string partition_name = 4; * @return The partitionName. */ java.lang.String getPartitionName(); /** * string partition_name = 4; * @return The bytes for partitionName. */ com.google.protobuf.ByteString getPartitionNameBytes(); /** * int64 dbID = 5; * @return The dbID. */ long getDbID(); /** * int64 collectionID = 6; * @return The collectionID. */ long getCollectionID(); /** * int64 partitionID = 7; * @return The partitionID. */ long getPartitionID(); } /** * Protobuf type {@code milvus.proto.msg.CreatePartitionRequest} */ public static final class CreatePartitionRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:milvus.proto.msg.CreatePartitionRequest) CreatePartitionRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CreatePartitionRequest.newBuilder() to construct. private CreatePartitionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreatePartitionRequest() { dbName_ = ""; collectionName_ = ""; partitionName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreatePartitionRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_CreatePartitionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_CreatePartitionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( milvus.proto.msg.Msg.CreatePartitionRequest.class, milvus.proto.msg.Msg.CreatePartitionRequest.Builder.class); } private int bitField0_; public static final int BASE_FIELD_NUMBER = 1; private io.milvus.grpc.MsgBase base_; /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ @java.lang.Override public boolean hasBase() { return ((bitField0_ & 0x00000001) != 0); } /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ @java.lang.Override public io.milvus.grpc.MsgBase getBase() { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } /** * .milvus.proto.common.MsgBase base = 1; */ @java.lang.Override public io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder() { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } public static final int DB_NAME_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object dbName_ = ""; /** * string db_name = 2; * @return The dbName. */ @java.lang.Override public java.lang.String getDbName() { java.lang.Object ref = dbName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dbName_ = s; return s; } } /** * string db_name = 2; * @return The bytes for dbName. */ @java.lang.Override public com.google.protobuf.ByteString getDbNameBytes() { java.lang.Object ref = dbName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dbName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COLLECTION_NAME_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object collectionName_ = ""; /** * string collection_name = 3; * @return The collectionName. */ @java.lang.Override public java.lang.String getCollectionName() { java.lang.Object ref = collectionName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionName_ = s; return s; } } /** * string collection_name = 3; * @return The bytes for collectionName. */ @java.lang.Override public com.google.protobuf.ByteString getCollectionNameBytes() { java.lang.Object ref = collectionName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); collectionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PARTITION_NAME_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object partitionName_ = ""; /** * string partition_name = 4; * @return The partitionName. */ @java.lang.Override public java.lang.String getPartitionName() { java.lang.Object ref = partitionName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partitionName_ = s; return s; } } /** * string partition_name = 4; * @return The bytes for partitionName. */ @java.lang.Override public com.google.protobuf.ByteString getPartitionNameBytes() { java.lang.Object ref = partitionName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); partitionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DBID_FIELD_NUMBER = 5; private long dbID_ = 0L; /** * int64 dbID = 5; * @return The dbID. */ @java.lang.Override public long getDbID() { return dbID_; } public static final int COLLECTIONID_FIELD_NUMBER = 6; private long collectionID_ = 0L; /** * int64 collectionID = 6; * @return The collectionID. */ @java.lang.Override public long getCollectionID() { return collectionID_; } public static final int PARTITIONID_FIELD_NUMBER = 7; private long partitionID_ = 0L; /** * int64 partitionID = 7; * @return The partitionID. */ @java.lang.Override public long getPartitionID() { return partitionID_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getBase()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dbName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, dbName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collectionName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, collectionName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, partitionName_); } if (dbID_ != 0L) { output.writeInt64(5, dbID_); } if (collectionID_ != 0L) { output.writeInt64(6, collectionID_); } if (partitionID_ != 0L) { output.writeInt64(7, partitionID_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getBase()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dbName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dbName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collectionName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, collectionName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, partitionName_); } if (dbID_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, dbID_); } if (collectionID_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, collectionID_); } if (partitionID_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, partitionID_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof milvus.proto.msg.Msg.CreatePartitionRequest)) { return super.equals(obj); } milvus.proto.msg.Msg.CreatePartitionRequest other = (milvus.proto.msg.Msg.CreatePartitionRequest) obj; if (hasBase() != other.hasBase()) return false; if (hasBase()) { if (!getBase() .equals(other.getBase())) return false; } if (!getDbName() .equals(other.getDbName())) return false; if (!getCollectionName() .equals(other.getCollectionName())) return false; if (!getPartitionName() .equals(other.getPartitionName())) return false; if (getDbID() != other.getDbID()) return false; if (getCollectionID() != other.getCollectionID()) return false; if (getPartitionID() != other.getPartitionID()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasBase()) { hash = (37 * hash) + BASE_FIELD_NUMBER; hash = (53 * hash) + getBase().hashCode(); } hash = (37 * hash) + DB_NAME_FIELD_NUMBER; hash = (53 * hash) + getDbName().hashCode(); hash = (37 * hash) + COLLECTION_NAME_FIELD_NUMBER; hash = (53 * hash) + getCollectionName().hashCode(); hash = (37 * hash) + PARTITION_NAME_FIELD_NUMBER; hash = (53 * hash) + getPartitionName().hashCode(); hash = (37 * hash) + DBID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDbID()); hash = (37 * hash) + COLLECTIONID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCollectionID()); hash = (37 * hash) + PARTITIONID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPartitionID()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static milvus.proto.msg.Msg.CreatePartitionRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.CreatePartitionRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.CreatePartitionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.CreatePartitionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.CreatePartitionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.CreatePartitionRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.CreatePartitionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.CreatePartitionRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static milvus.proto.msg.Msg.CreatePartitionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.CreatePartitionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static milvus.proto.msg.Msg.CreatePartitionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.CreatePartitionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(milvus.proto.msg.Msg.CreatePartitionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code milvus.proto.msg.CreatePartitionRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:milvus.proto.msg.CreatePartitionRequest) milvus.proto.msg.Msg.CreatePartitionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_CreatePartitionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_CreatePartitionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( milvus.proto.msg.Msg.CreatePartitionRequest.class, milvus.proto.msg.Msg.CreatePartitionRequest.Builder.class); } // Construct using milvus.proto.msg.Msg.CreatePartitionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBaseFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; base_ = null; if (baseBuilder_ != null) { baseBuilder_.dispose(); baseBuilder_ = null; } dbName_ = ""; collectionName_ = ""; partitionName_ = ""; dbID_ = 0L; collectionID_ = 0L; partitionID_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_CreatePartitionRequest_descriptor; } @java.lang.Override public milvus.proto.msg.Msg.CreatePartitionRequest getDefaultInstanceForType() { return milvus.proto.msg.Msg.CreatePartitionRequest.getDefaultInstance(); } @java.lang.Override public milvus.proto.msg.Msg.CreatePartitionRequest build() { milvus.proto.msg.Msg.CreatePartitionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public milvus.proto.msg.Msg.CreatePartitionRequest buildPartial() { milvus.proto.msg.Msg.CreatePartitionRequest result = new milvus.proto.msg.Msg.CreatePartitionRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(milvus.proto.msg.Msg.CreatePartitionRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.base_ = baseBuilder_ == null ? base_ : baseBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.dbName_ = dbName_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.collectionName_ = collectionName_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.partitionName_ = partitionName_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.dbID_ = dbID_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.collectionID_ = collectionID_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.partitionID_ = partitionID_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof milvus.proto.msg.Msg.CreatePartitionRequest) { return mergeFrom((milvus.proto.msg.Msg.CreatePartitionRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(milvus.proto.msg.Msg.CreatePartitionRequest other) { if (other == milvus.proto.msg.Msg.CreatePartitionRequest.getDefaultInstance()) return this; if (other.hasBase()) { mergeBase(other.getBase()); } if (!other.getDbName().isEmpty()) { dbName_ = other.dbName_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getCollectionName().isEmpty()) { collectionName_ = other.collectionName_; bitField0_ |= 0x00000004; onChanged(); } if (!other.getPartitionName().isEmpty()) { partitionName_ = other.partitionName_; bitField0_ |= 0x00000008; onChanged(); } if (other.getDbID() != 0L) { setDbID(other.getDbID()); } if (other.getCollectionID() != 0L) { setCollectionID(other.getCollectionID()); } if (other.getPartitionID() != 0L) { setPartitionID(other.getPartitionID()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getBaseFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { dbName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { collectionName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { partitionName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 case 40: { dbID_ = input.readInt64(); bitField0_ |= 0x00000010; break; } // case 40 case 48: { collectionID_ = input.readInt64(); bitField0_ |= 0x00000020; break; } // case 48 case 56: { partitionID_ = input.readInt64(); bitField0_ |= 0x00000040; break; } // case 56 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private io.milvus.grpc.MsgBase base_; private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder> baseBuilder_; /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ public boolean hasBase() { return ((bitField0_ & 0x00000001) != 0); } /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ public io.milvus.grpc.MsgBase getBase() { if (baseBuilder_ == null) { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } else { return baseBuilder_.getMessage(); } } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder setBase(io.milvus.grpc.MsgBase value) { if (baseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } base_ = value; } else { baseBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder setBase( io.milvus.grpc.MsgBase.Builder builderForValue) { if (baseBuilder_ == null) { base_ = builderForValue.build(); } else { baseBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder mergeBase(io.milvus.grpc.MsgBase value) { if (baseBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && base_ != null && base_ != io.milvus.grpc.MsgBase.getDefaultInstance()) { getBaseBuilder().mergeFrom(value); } else { base_ = value; } } else { baseBuilder_.mergeFrom(value); } if (base_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder clearBase() { bitField0_ = (bitField0_ & ~0x00000001); base_ = null; if (baseBuilder_ != null) { baseBuilder_.dispose(); baseBuilder_ = null; } onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public io.milvus.grpc.MsgBase.Builder getBaseBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBaseFieldBuilder().getBuilder(); } /** * .milvus.proto.common.MsgBase base = 1; */ public io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder() { if (baseBuilder_ != null) { return baseBuilder_.getMessageOrBuilder(); } else { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } } /** * .milvus.proto.common.MsgBase base = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder> getBaseFieldBuilder() { if (baseBuilder_ == null) { baseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder>( getBase(), getParentForChildren(), isClean()); base_ = null; } return baseBuilder_; } private java.lang.Object dbName_ = ""; /** * string db_name = 2; * @return The dbName. */ public java.lang.String getDbName() { java.lang.Object ref = dbName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dbName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string db_name = 2; * @return The bytes for dbName. */ public com.google.protobuf.ByteString getDbNameBytes() { java.lang.Object ref = dbName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dbName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string db_name = 2; * @param value The dbName to set. * @return This builder for chaining. */ public Builder setDbName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } dbName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * string db_name = 2; * @return This builder for chaining. */ public Builder clearDbName() { dbName_ = getDefaultInstance().getDbName(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * string db_name = 2; * @param value The bytes for dbName to set. * @return This builder for chaining. */ public Builder setDbNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dbName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object collectionName_ = ""; /** * string collection_name = 3; * @return The collectionName. */ public java.lang.String getCollectionName() { java.lang.Object ref = collectionName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string collection_name = 3; * @return The bytes for collectionName. */ public com.google.protobuf.ByteString getCollectionNameBytes() { java.lang.Object ref = collectionName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); collectionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string collection_name = 3; * @param value The collectionName to set. * @return This builder for chaining. */ public Builder setCollectionName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } collectionName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * string collection_name = 3; * @return This builder for chaining. */ public Builder clearCollectionName() { collectionName_ = getDefaultInstance().getCollectionName(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * string collection_name = 3; * @param value The bytes for collectionName to set. * @return This builder for chaining. */ public Builder setCollectionNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); collectionName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.lang.Object partitionName_ = ""; /** * string partition_name = 4; * @return The partitionName. */ public java.lang.String getPartitionName() { java.lang.Object ref = partitionName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partitionName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string partition_name = 4; * @return The bytes for partitionName. */ public com.google.protobuf.ByteString getPartitionNameBytes() { java.lang.Object ref = partitionName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); partitionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string partition_name = 4; * @param value The partitionName to set. * @return This builder for chaining. */ public Builder setPartitionName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } partitionName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * string partition_name = 4; * @return This builder for chaining. */ public Builder clearPartitionName() { partitionName_ = getDefaultInstance().getPartitionName(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** * string partition_name = 4; * @param value The bytes for partitionName to set. * @return This builder for chaining. */ public Builder setPartitionNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); partitionName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private long dbID_ ; /** * int64 dbID = 5; * @return The dbID. */ @java.lang.Override public long getDbID() { return dbID_; } /** * int64 dbID = 5; * @param value The dbID to set. * @return This builder for chaining. */ public Builder setDbID(long value) { dbID_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * int64 dbID = 5; * @return This builder for chaining. */ public Builder clearDbID() { bitField0_ = (bitField0_ & ~0x00000010); dbID_ = 0L; onChanged(); return this; } private long collectionID_ ; /** * int64 collectionID = 6; * @return The collectionID. */ @java.lang.Override public long getCollectionID() { return collectionID_; } /** * int64 collectionID = 6; * @param value The collectionID to set. * @return This builder for chaining. */ public Builder setCollectionID(long value) { collectionID_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** * int64 collectionID = 6; * @return This builder for chaining. */ public Builder clearCollectionID() { bitField0_ = (bitField0_ & ~0x00000020); collectionID_ = 0L; onChanged(); return this; } private long partitionID_ ; /** * int64 partitionID = 7; * @return The partitionID. */ @java.lang.Override public long getPartitionID() { return partitionID_; } /** * int64 partitionID = 7; * @param value The partitionID to set. * @return This builder for chaining. */ public Builder setPartitionID(long value) { partitionID_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** * int64 partitionID = 7; * @return This builder for chaining. */ public Builder clearPartitionID() { bitField0_ = (bitField0_ & ~0x00000040); partitionID_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:milvus.proto.msg.CreatePartitionRequest) } // @@protoc_insertion_point(class_scope:milvus.proto.msg.CreatePartitionRequest) private static final milvus.proto.msg.Msg.CreatePartitionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new milvus.proto.msg.Msg.CreatePartitionRequest(); } public static milvus.proto.msg.Msg.CreatePartitionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreatePartitionRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public milvus.proto.msg.Msg.CreatePartitionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropPartitionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:milvus.proto.msg.DropPartitionRequest) com.google.protobuf.MessageOrBuilder { /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ boolean hasBase(); /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ io.milvus.grpc.MsgBase getBase(); /** * .milvus.proto.common.MsgBase base = 1; */ io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder(); /** * string db_name = 2; * @return The dbName. */ java.lang.String getDbName(); /** * string db_name = 2; * @return The bytes for dbName. */ com.google.protobuf.ByteString getDbNameBytes(); /** * string collection_name = 3; * @return The collectionName. */ java.lang.String getCollectionName(); /** * string collection_name = 3; * @return The bytes for collectionName. */ com.google.protobuf.ByteString getCollectionNameBytes(); /** * string partition_name = 4; * @return The partitionName. */ java.lang.String getPartitionName(); /** * string partition_name = 4; * @return The bytes for partitionName. */ com.google.protobuf.ByteString getPartitionNameBytes(); /** * int64 dbID = 5; * @return The dbID. */ long getDbID(); /** * int64 collectionID = 6; * @return The collectionID. */ long getCollectionID(); /** * int64 partitionID = 7; * @return The partitionID. */ long getPartitionID(); } /** * Protobuf type {@code milvus.proto.msg.DropPartitionRequest} */ public static final class DropPartitionRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:milvus.proto.msg.DropPartitionRequest) DropPartitionRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DropPartitionRequest.newBuilder() to construct. private DropPartitionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropPartitionRequest() { dbName_ = ""; collectionName_ = ""; partitionName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropPartitionRequest(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_DropPartitionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_DropPartitionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( milvus.proto.msg.Msg.DropPartitionRequest.class, milvus.proto.msg.Msg.DropPartitionRequest.Builder.class); } private int bitField0_; public static final int BASE_FIELD_NUMBER = 1; private io.milvus.grpc.MsgBase base_; /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ @java.lang.Override public boolean hasBase() { return ((bitField0_ & 0x00000001) != 0); } /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ @java.lang.Override public io.milvus.grpc.MsgBase getBase() { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } /** * .milvus.proto.common.MsgBase base = 1; */ @java.lang.Override public io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder() { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } public static final int DB_NAME_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object dbName_ = ""; /** * string db_name = 2; * @return The dbName. */ @java.lang.Override public java.lang.String getDbName() { java.lang.Object ref = dbName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dbName_ = s; return s; } } /** * string db_name = 2; * @return The bytes for dbName. */ @java.lang.Override public com.google.protobuf.ByteString getDbNameBytes() { java.lang.Object ref = dbName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dbName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COLLECTION_NAME_FIELD_NUMBER = 3; @SuppressWarnings("serial") private volatile java.lang.Object collectionName_ = ""; /** * string collection_name = 3; * @return The collectionName. */ @java.lang.Override public java.lang.String getCollectionName() { java.lang.Object ref = collectionName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionName_ = s; return s; } } /** * string collection_name = 3; * @return The bytes for collectionName. */ @java.lang.Override public com.google.protobuf.ByteString getCollectionNameBytes() { java.lang.Object ref = collectionName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); collectionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PARTITION_NAME_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object partitionName_ = ""; /** * string partition_name = 4; * @return The partitionName. */ @java.lang.Override public java.lang.String getPartitionName() { java.lang.Object ref = partitionName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partitionName_ = s; return s; } } /** * string partition_name = 4; * @return The bytes for partitionName. */ @java.lang.Override public com.google.protobuf.ByteString getPartitionNameBytes() { java.lang.Object ref = partitionName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); partitionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DBID_FIELD_NUMBER = 5; private long dbID_ = 0L; /** * int64 dbID = 5; * @return The dbID. */ @java.lang.Override public long getDbID() { return dbID_; } public static final int COLLECTIONID_FIELD_NUMBER = 6; private long collectionID_ = 0L; /** * int64 collectionID = 6; * @return The collectionID. */ @java.lang.Override public long getCollectionID() { return collectionID_; } public static final int PARTITIONID_FIELD_NUMBER = 7; private long partitionID_ = 0L; /** * int64 partitionID = 7; * @return The partitionID. */ @java.lang.Override public long getPartitionID() { return partitionID_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getBase()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dbName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, dbName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collectionName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, collectionName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, partitionName_); } if (dbID_ != 0L) { output.writeInt64(5, dbID_); } if (collectionID_ != 0L) { output.writeInt64(6, collectionID_); } if (partitionID_ != 0L) { output.writeInt64(7, partitionID_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getBase()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dbName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dbName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collectionName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, collectionName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, partitionName_); } if (dbID_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, dbID_); } if (collectionID_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, collectionID_); } if (partitionID_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, partitionID_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof milvus.proto.msg.Msg.DropPartitionRequest)) { return super.equals(obj); } milvus.proto.msg.Msg.DropPartitionRequest other = (milvus.proto.msg.Msg.DropPartitionRequest) obj; if (hasBase() != other.hasBase()) return false; if (hasBase()) { if (!getBase() .equals(other.getBase())) return false; } if (!getDbName() .equals(other.getDbName())) return false; if (!getCollectionName() .equals(other.getCollectionName())) return false; if (!getPartitionName() .equals(other.getPartitionName())) return false; if (getDbID() != other.getDbID()) return false; if (getCollectionID() != other.getCollectionID()) return false; if (getPartitionID() != other.getPartitionID()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasBase()) { hash = (37 * hash) + BASE_FIELD_NUMBER; hash = (53 * hash) + getBase().hashCode(); } hash = (37 * hash) + DB_NAME_FIELD_NUMBER; hash = (53 * hash) + getDbName().hashCode(); hash = (37 * hash) + COLLECTION_NAME_FIELD_NUMBER; hash = (53 * hash) + getCollectionName().hashCode(); hash = (37 * hash) + PARTITION_NAME_FIELD_NUMBER; hash = (53 * hash) + getPartitionName().hashCode(); hash = (37 * hash) + DBID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDbID()); hash = (37 * hash) + COLLECTIONID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCollectionID()); hash = (37 * hash) + PARTITIONID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPartitionID()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static milvus.proto.msg.Msg.DropPartitionRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.DropPartitionRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.DropPartitionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.DropPartitionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.DropPartitionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.DropPartitionRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.DropPartitionRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.DropPartitionRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static milvus.proto.msg.Msg.DropPartitionRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.DropPartitionRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static milvus.proto.msg.Msg.DropPartitionRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.DropPartitionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(milvus.proto.msg.Msg.DropPartitionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code milvus.proto.msg.DropPartitionRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:milvus.proto.msg.DropPartitionRequest) milvus.proto.msg.Msg.DropPartitionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_DropPartitionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_DropPartitionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( milvus.proto.msg.Msg.DropPartitionRequest.class, milvus.proto.msg.Msg.DropPartitionRequest.Builder.class); } // Construct using milvus.proto.msg.Msg.DropPartitionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBaseFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; base_ = null; if (baseBuilder_ != null) { baseBuilder_.dispose(); baseBuilder_ = null; } dbName_ = ""; collectionName_ = ""; partitionName_ = ""; dbID_ = 0L; collectionID_ = 0L; partitionID_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_DropPartitionRequest_descriptor; } @java.lang.Override public milvus.proto.msg.Msg.DropPartitionRequest getDefaultInstanceForType() { return milvus.proto.msg.Msg.DropPartitionRequest.getDefaultInstance(); } @java.lang.Override public milvus.proto.msg.Msg.DropPartitionRequest build() { milvus.proto.msg.Msg.DropPartitionRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public milvus.proto.msg.Msg.DropPartitionRequest buildPartial() { milvus.proto.msg.Msg.DropPartitionRequest result = new milvus.proto.msg.Msg.DropPartitionRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(milvus.proto.msg.Msg.DropPartitionRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.base_ = baseBuilder_ == null ? base_ : baseBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.dbName_ = dbName_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.collectionName_ = collectionName_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.partitionName_ = partitionName_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.dbID_ = dbID_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.collectionID_ = collectionID_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.partitionID_ = partitionID_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof milvus.proto.msg.Msg.DropPartitionRequest) { return mergeFrom((milvus.proto.msg.Msg.DropPartitionRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(milvus.proto.msg.Msg.DropPartitionRequest other) { if (other == milvus.proto.msg.Msg.DropPartitionRequest.getDefaultInstance()) return this; if (other.hasBase()) { mergeBase(other.getBase()); } if (!other.getDbName().isEmpty()) { dbName_ = other.dbName_; bitField0_ |= 0x00000002; onChanged(); } if (!other.getCollectionName().isEmpty()) { collectionName_ = other.collectionName_; bitField0_ |= 0x00000004; onChanged(); } if (!other.getPartitionName().isEmpty()) { partitionName_ = other.partitionName_; bitField0_ |= 0x00000008; onChanged(); } if (other.getDbID() != 0L) { setDbID(other.getDbID()); } if (other.getCollectionID() != 0L) { setCollectionID(other.getCollectionID()); } if (other.getPartitionID() != 0L) { setPartitionID(other.getPartitionID()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getBaseFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { dbName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 26: { collectionName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { partitionName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 case 40: { dbID_ = input.readInt64(); bitField0_ |= 0x00000010; break; } // case 40 case 48: { collectionID_ = input.readInt64(); bitField0_ |= 0x00000020; break; } // case 48 case 56: { partitionID_ = input.readInt64(); bitField0_ |= 0x00000040; break; } // case 56 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private io.milvus.grpc.MsgBase base_; private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder> baseBuilder_; /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ public boolean hasBase() { return ((bitField0_ & 0x00000001) != 0); } /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ public io.milvus.grpc.MsgBase getBase() { if (baseBuilder_ == null) { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } else { return baseBuilder_.getMessage(); } } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder setBase(io.milvus.grpc.MsgBase value) { if (baseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } base_ = value; } else { baseBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder setBase( io.milvus.grpc.MsgBase.Builder builderForValue) { if (baseBuilder_ == null) { base_ = builderForValue.build(); } else { baseBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder mergeBase(io.milvus.grpc.MsgBase value) { if (baseBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && base_ != null && base_ != io.milvus.grpc.MsgBase.getDefaultInstance()) { getBaseBuilder().mergeFrom(value); } else { base_ = value; } } else { baseBuilder_.mergeFrom(value); } if (base_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder clearBase() { bitField0_ = (bitField0_ & ~0x00000001); base_ = null; if (baseBuilder_ != null) { baseBuilder_.dispose(); baseBuilder_ = null; } onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public io.milvus.grpc.MsgBase.Builder getBaseBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBaseFieldBuilder().getBuilder(); } /** * .milvus.proto.common.MsgBase base = 1; */ public io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder() { if (baseBuilder_ != null) { return baseBuilder_.getMessageOrBuilder(); } else { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } } /** * .milvus.proto.common.MsgBase base = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder> getBaseFieldBuilder() { if (baseBuilder_ == null) { baseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder>( getBase(), getParentForChildren(), isClean()); base_ = null; } return baseBuilder_; } private java.lang.Object dbName_ = ""; /** * string db_name = 2; * @return The dbName. */ public java.lang.String getDbName() { java.lang.Object ref = dbName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dbName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string db_name = 2; * @return The bytes for dbName. */ public com.google.protobuf.ByteString getDbNameBytes() { java.lang.Object ref = dbName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dbName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string db_name = 2; * @param value The dbName to set. * @return This builder for chaining. */ public Builder setDbName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } dbName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * string db_name = 2; * @return This builder for chaining. */ public Builder clearDbName() { dbName_ = getDefaultInstance().getDbName(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * string db_name = 2; * @param value The bytes for dbName to set. * @return This builder for chaining. */ public Builder setDbNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dbName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object collectionName_ = ""; /** * string collection_name = 3; * @return The collectionName. */ public java.lang.String getCollectionName() { java.lang.Object ref = collectionName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collectionName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string collection_name = 3; * @return The bytes for collectionName. */ public com.google.protobuf.ByteString getCollectionNameBytes() { java.lang.Object ref = collectionName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); collectionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string collection_name = 3; * @param value The collectionName to set. * @return This builder for chaining. */ public Builder setCollectionName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } collectionName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * string collection_name = 3; * @return This builder for chaining. */ public Builder clearCollectionName() { collectionName_ = getDefaultInstance().getCollectionName(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * string collection_name = 3; * @param value The bytes for collectionName to set. * @return This builder for chaining. */ public Builder setCollectionNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); collectionName_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.lang.Object partitionName_ = ""; /** * string partition_name = 4; * @return The partitionName. */ public java.lang.String getPartitionName() { java.lang.Object ref = partitionName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partitionName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string partition_name = 4; * @return The bytes for partitionName. */ public com.google.protobuf.ByteString getPartitionNameBytes() { java.lang.Object ref = partitionName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); partitionName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string partition_name = 4; * @param value The partitionName to set. * @return This builder for chaining. */ public Builder setPartitionName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } partitionName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** * string partition_name = 4; * @return This builder for chaining. */ public Builder clearPartitionName() { partitionName_ = getDefaultInstance().getPartitionName(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** * string partition_name = 4; * @param value The bytes for partitionName to set. * @return This builder for chaining. */ public Builder setPartitionNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); partitionName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private long dbID_ ; /** * int64 dbID = 5; * @return The dbID. */ @java.lang.Override public long getDbID() { return dbID_; } /** * int64 dbID = 5; * @param value The dbID to set. * @return This builder for chaining. */ public Builder setDbID(long value) { dbID_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** * int64 dbID = 5; * @return This builder for chaining. */ public Builder clearDbID() { bitField0_ = (bitField0_ & ~0x00000010); dbID_ = 0L; onChanged(); return this; } private long collectionID_ ; /** * int64 collectionID = 6; * @return The collectionID. */ @java.lang.Override public long getCollectionID() { return collectionID_; } /** * int64 collectionID = 6; * @param value The collectionID to set. * @return This builder for chaining. */ public Builder setCollectionID(long value) { collectionID_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** * int64 collectionID = 6; * @return This builder for chaining. */ public Builder clearCollectionID() { bitField0_ = (bitField0_ & ~0x00000020); collectionID_ = 0L; onChanged(); return this; } private long partitionID_ ; /** * int64 partitionID = 7; * @return The partitionID. */ @java.lang.Override public long getPartitionID() { return partitionID_; } /** * int64 partitionID = 7; * @param value The partitionID to set. * @return This builder for chaining. */ public Builder setPartitionID(long value) { partitionID_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** * int64 partitionID = 7; * @return This builder for chaining. */ public Builder clearPartitionID() { bitField0_ = (bitField0_ & ~0x00000040); partitionID_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:milvus.proto.msg.DropPartitionRequest) } // @@protoc_insertion_point(class_scope:milvus.proto.msg.DropPartitionRequest) private static final milvus.proto.msg.Msg.DropPartitionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new milvus.proto.msg.Msg.DropPartitionRequest(); } public static milvus.proto.msg.Msg.DropPartitionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropPartitionRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public milvus.proto.msg.Msg.DropPartitionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TimeTickMsgOrBuilder extends // @@protoc_insertion_point(interface_extends:milvus.proto.msg.TimeTickMsg) com.google.protobuf.MessageOrBuilder { /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ boolean hasBase(); /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ io.milvus.grpc.MsgBase getBase(); /** * .milvus.proto.common.MsgBase base = 1; */ io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder(); } /** * Protobuf type {@code milvus.proto.msg.TimeTickMsg} */ public static final class TimeTickMsg extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:milvus.proto.msg.TimeTickMsg) TimeTickMsgOrBuilder { private static final long serialVersionUID = 0L; // Use TimeTickMsg.newBuilder() to construct. private TimeTickMsg(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TimeTickMsg() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TimeTickMsg(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_TimeTickMsg_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_TimeTickMsg_fieldAccessorTable .ensureFieldAccessorsInitialized( milvus.proto.msg.Msg.TimeTickMsg.class, milvus.proto.msg.Msg.TimeTickMsg.Builder.class); } private int bitField0_; public static final int BASE_FIELD_NUMBER = 1; private io.milvus.grpc.MsgBase base_; /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ @java.lang.Override public boolean hasBase() { return ((bitField0_ & 0x00000001) != 0); } /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ @java.lang.Override public io.milvus.grpc.MsgBase getBase() { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } /** * .milvus.proto.common.MsgBase base = 1; */ @java.lang.Override public io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder() { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getBase()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getBase()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof milvus.proto.msg.Msg.TimeTickMsg)) { return super.equals(obj); } milvus.proto.msg.Msg.TimeTickMsg other = (milvus.proto.msg.Msg.TimeTickMsg) obj; if (hasBase() != other.hasBase()) return false; if (hasBase()) { if (!getBase() .equals(other.getBase())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasBase()) { hash = (37 * hash) + BASE_FIELD_NUMBER; hash = (53 * hash) + getBase().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static milvus.proto.msg.Msg.TimeTickMsg parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.TimeTickMsg parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.TimeTickMsg parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.TimeTickMsg parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.TimeTickMsg parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.TimeTickMsg parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.TimeTickMsg parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.TimeTickMsg parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static milvus.proto.msg.Msg.TimeTickMsg parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.TimeTickMsg parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static milvus.proto.msg.Msg.TimeTickMsg parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.TimeTickMsg parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(milvus.proto.msg.Msg.TimeTickMsg prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code milvus.proto.msg.TimeTickMsg} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:milvus.proto.msg.TimeTickMsg) milvus.proto.msg.Msg.TimeTickMsgOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_TimeTickMsg_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_TimeTickMsg_fieldAccessorTable .ensureFieldAccessorsInitialized( milvus.proto.msg.Msg.TimeTickMsg.class, milvus.proto.msg.Msg.TimeTickMsg.Builder.class); } // Construct using milvus.proto.msg.Msg.TimeTickMsg.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBaseFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; base_ = null; if (baseBuilder_ != null) { baseBuilder_.dispose(); baseBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_TimeTickMsg_descriptor; } @java.lang.Override public milvus.proto.msg.Msg.TimeTickMsg getDefaultInstanceForType() { return milvus.proto.msg.Msg.TimeTickMsg.getDefaultInstance(); } @java.lang.Override public milvus.proto.msg.Msg.TimeTickMsg build() { milvus.proto.msg.Msg.TimeTickMsg result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public milvus.proto.msg.Msg.TimeTickMsg buildPartial() { milvus.proto.msg.Msg.TimeTickMsg result = new milvus.proto.msg.Msg.TimeTickMsg(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(milvus.proto.msg.Msg.TimeTickMsg result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.base_ = baseBuilder_ == null ? base_ : baseBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof milvus.proto.msg.Msg.TimeTickMsg) { return mergeFrom((milvus.proto.msg.Msg.TimeTickMsg)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(milvus.proto.msg.Msg.TimeTickMsg other) { if (other == milvus.proto.msg.Msg.TimeTickMsg.getDefaultInstance()) return this; if (other.hasBase()) { mergeBase(other.getBase()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getBaseFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private io.milvus.grpc.MsgBase base_; private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder> baseBuilder_; /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ public boolean hasBase() { return ((bitField0_ & 0x00000001) != 0); } /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ public io.milvus.grpc.MsgBase getBase() { if (baseBuilder_ == null) { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } else { return baseBuilder_.getMessage(); } } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder setBase(io.milvus.grpc.MsgBase value) { if (baseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } base_ = value; } else { baseBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder setBase( io.milvus.grpc.MsgBase.Builder builderForValue) { if (baseBuilder_ == null) { base_ = builderForValue.build(); } else { baseBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder mergeBase(io.milvus.grpc.MsgBase value) { if (baseBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && base_ != null && base_ != io.milvus.grpc.MsgBase.getDefaultInstance()) { getBaseBuilder().mergeFrom(value); } else { base_ = value; } } else { baseBuilder_.mergeFrom(value); } if (base_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder clearBase() { bitField0_ = (bitField0_ & ~0x00000001); base_ = null; if (baseBuilder_ != null) { baseBuilder_.dispose(); baseBuilder_ = null; } onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public io.milvus.grpc.MsgBase.Builder getBaseBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBaseFieldBuilder().getBuilder(); } /** * .milvus.proto.common.MsgBase base = 1; */ public io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder() { if (baseBuilder_ != null) { return baseBuilder_.getMessageOrBuilder(); } else { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } } /** * .milvus.proto.common.MsgBase base = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder> getBaseFieldBuilder() { if (baseBuilder_ == null) { baseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder>( getBase(), getParentForChildren(), isClean()); base_ = null; } return baseBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:milvus.proto.msg.TimeTickMsg) } // @@protoc_insertion_point(class_scope:milvus.proto.msg.TimeTickMsg) private static final milvus.proto.msg.Msg.TimeTickMsg DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new milvus.proto.msg.Msg.TimeTickMsg(); } public static milvus.proto.msg.Msg.TimeTickMsg getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TimeTickMsg parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public milvus.proto.msg.Msg.TimeTickMsg getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DataNodeTtMsgOrBuilder extends // @@protoc_insertion_point(interface_extends:milvus.proto.msg.DataNodeTtMsg) com.google.protobuf.MessageOrBuilder { /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ boolean hasBase(); /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ io.milvus.grpc.MsgBase getBase(); /** * .milvus.proto.common.MsgBase base = 1; */ io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder(); /** * string channel_name = 2; * @return The channelName. */ java.lang.String getChannelName(); /** * string channel_name = 2; * @return The bytes for channelName. */ com.google.protobuf.ByteString getChannelNameBytes(); /** * uint64 timestamp = 3; * @return The timestamp. */ long getTimestamp(); /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ java.util.List getSegmentsStatsList(); /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ io.milvus.grpc.SegmentStats getSegmentsStats(int index); /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ int getSegmentsStatsCount(); /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ java.util.List getSegmentsStatsOrBuilderList(); /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ io.milvus.grpc.SegmentStatsOrBuilder getSegmentsStatsOrBuilder( int index); } /** * Protobuf type {@code milvus.proto.msg.DataNodeTtMsg} */ public static final class DataNodeTtMsg extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:milvus.proto.msg.DataNodeTtMsg) DataNodeTtMsgOrBuilder { private static final long serialVersionUID = 0L; // Use DataNodeTtMsg.newBuilder() to construct. private DataNodeTtMsg(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DataNodeTtMsg() { channelName_ = ""; segmentsStats_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DataNodeTtMsg(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_DataNodeTtMsg_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_DataNodeTtMsg_fieldAccessorTable .ensureFieldAccessorsInitialized( milvus.proto.msg.Msg.DataNodeTtMsg.class, milvus.proto.msg.Msg.DataNodeTtMsg.Builder.class); } private int bitField0_; public static final int BASE_FIELD_NUMBER = 1; private io.milvus.grpc.MsgBase base_; /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ @java.lang.Override public boolean hasBase() { return ((bitField0_ & 0x00000001) != 0); } /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ @java.lang.Override public io.milvus.grpc.MsgBase getBase() { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } /** * .milvus.proto.common.MsgBase base = 1; */ @java.lang.Override public io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder() { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } public static final int CHANNEL_NAME_FIELD_NUMBER = 2; @SuppressWarnings("serial") private volatile java.lang.Object channelName_ = ""; /** * string channel_name = 2; * @return The channelName. */ @java.lang.Override public java.lang.String getChannelName() { java.lang.Object ref = channelName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); channelName_ = s; return s; } } /** * string channel_name = 2; * @return The bytes for channelName. */ @java.lang.Override public com.google.protobuf.ByteString getChannelNameBytes() { java.lang.Object ref = channelName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); channelName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TIMESTAMP_FIELD_NUMBER = 3; private long timestamp_ = 0L; /** * uint64 timestamp = 3; * @return The timestamp. */ @java.lang.Override public long getTimestamp() { return timestamp_; } public static final int SEGMENTS_STATS_FIELD_NUMBER = 4; @SuppressWarnings("serial") private java.util.List segmentsStats_; /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ @java.lang.Override public java.util.List getSegmentsStatsList() { return segmentsStats_; } /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ @java.lang.Override public java.util.List getSegmentsStatsOrBuilderList() { return segmentsStats_; } /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ @java.lang.Override public int getSegmentsStatsCount() { return segmentsStats_.size(); } /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ @java.lang.Override public io.milvus.grpc.SegmentStats getSegmentsStats(int index) { return segmentsStats_.get(index); } /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ @java.lang.Override public io.milvus.grpc.SegmentStatsOrBuilder getSegmentsStatsOrBuilder( int index) { return segmentsStats_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getBase()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(channelName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, channelName_); } if (timestamp_ != 0L) { output.writeUInt64(3, timestamp_); } for (int i = 0; i < segmentsStats_.size(); i++) { output.writeMessage(4, segmentsStats_.get(i)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getBase()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(channelName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, channelName_); } if (timestamp_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, timestamp_); } for (int i = 0; i < segmentsStats_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, segmentsStats_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof milvus.proto.msg.Msg.DataNodeTtMsg)) { return super.equals(obj); } milvus.proto.msg.Msg.DataNodeTtMsg other = (milvus.proto.msg.Msg.DataNodeTtMsg) obj; if (hasBase() != other.hasBase()) return false; if (hasBase()) { if (!getBase() .equals(other.getBase())) return false; } if (!getChannelName() .equals(other.getChannelName())) return false; if (getTimestamp() != other.getTimestamp()) return false; if (!getSegmentsStatsList() .equals(other.getSegmentsStatsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasBase()) { hash = (37 * hash) + BASE_FIELD_NUMBER; hash = (53 * hash) + getBase().hashCode(); } hash = (37 * hash) + CHANNEL_NAME_FIELD_NUMBER; hash = (53 * hash) + getChannelName().hashCode(); hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTimestamp()); if (getSegmentsStatsCount() > 0) { hash = (37 * hash) + SEGMENTS_STATS_FIELD_NUMBER; hash = (53 * hash) + getSegmentsStatsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static milvus.proto.msg.Msg.DataNodeTtMsg parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.DataNodeTtMsg parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.DataNodeTtMsg parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.DataNodeTtMsg parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.DataNodeTtMsg parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static milvus.proto.msg.Msg.DataNodeTtMsg parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static milvus.proto.msg.Msg.DataNodeTtMsg parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.DataNodeTtMsg parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static milvus.proto.msg.Msg.DataNodeTtMsg parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.DataNodeTtMsg parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static milvus.proto.msg.Msg.DataNodeTtMsg parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static milvus.proto.msg.Msg.DataNodeTtMsg parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(milvus.proto.msg.Msg.DataNodeTtMsg prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code milvus.proto.msg.DataNodeTtMsg} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:milvus.proto.msg.DataNodeTtMsg) milvus.proto.msg.Msg.DataNodeTtMsgOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_DataNodeTtMsg_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_DataNodeTtMsg_fieldAccessorTable .ensureFieldAccessorsInitialized( milvus.proto.msg.Msg.DataNodeTtMsg.class, milvus.proto.msg.Msg.DataNodeTtMsg.Builder.class); } // Construct using milvus.proto.msg.Msg.DataNodeTtMsg.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBaseFieldBuilder(); getSegmentsStatsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; base_ = null; if (baseBuilder_ != null) { baseBuilder_.dispose(); baseBuilder_ = null; } channelName_ = ""; timestamp_ = 0L; if (segmentsStatsBuilder_ == null) { segmentsStats_ = java.util.Collections.emptyList(); } else { segmentsStats_ = null; segmentsStatsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return milvus.proto.msg.Msg.internal_static_milvus_proto_msg_DataNodeTtMsg_descriptor; } @java.lang.Override public milvus.proto.msg.Msg.DataNodeTtMsg getDefaultInstanceForType() { return milvus.proto.msg.Msg.DataNodeTtMsg.getDefaultInstance(); } @java.lang.Override public milvus.proto.msg.Msg.DataNodeTtMsg build() { milvus.proto.msg.Msg.DataNodeTtMsg result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public milvus.proto.msg.Msg.DataNodeTtMsg buildPartial() { milvus.proto.msg.Msg.DataNodeTtMsg result = new milvus.proto.msg.Msg.DataNodeTtMsg(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(milvus.proto.msg.Msg.DataNodeTtMsg result) { if (segmentsStatsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { segmentsStats_ = java.util.Collections.unmodifiableList(segmentsStats_); bitField0_ = (bitField0_ & ~0x00000008); } result.segmentsStats_ = segmentsStats_; } else { result.segmentsStats_ = segmentsStatsBuilder_.build(); } } private void buildPartial0(milvus.proto.msg.Msg.DataNodeTtMsg result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.base_ = baseBuilder_ == null ? base_ : baseBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.channelName_ = channelName_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.timestamp_ = timestamp_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof milvus.proto.msg.Msg.DataNodeTtMsg) { return mergeFrom((milvus.proto.msg.Msg.DataNodeTtMsg)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(milvus.proto.msg.Msg.DataNodeTtMsg other) { if (other == milvus.proto.msg.Msg.DataNodeTtMsg.getDefaultInstance()) return this; if (other.hasBase()) { mergeBase(other.getBase()); } if (!other.getChannelName().isEmpty()) { channelName_ = other.channelName_; bitField0_ |= 0x00000002; onChanged(); } if (other.getTimestamp() != 0L) { setTimestamp(other.getTimestamp()); } if (segmentsStatsBuilder_ == null) { if (!other.segmentsStats_.isEmpty()) { if (segmentsStats_.isEmpty()) { segmentsStats_ = other.segmentsStats_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureSegmentsStatsIsMutable(); segmentsStats_.addAll(other.segmentsStats_); } onChanged(); } } else { if (!other.segmentsStats_.isEmpty()) { if (segmentsStatsBuilder_.isEmpty()) { segmentsStatsBuilder_.dispose(); segmentsStatsBuilder_ = null; segmentsStats_ = other.segmentsStats_; bitField0_ = (bitField0_ & ~0x00000008); segmentsStatsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSegmentsStatsFieldBuilder() : null; } else { segmentsStatsBuilder_.addAllMessages(other.segmentsStats_); } } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getBaseFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { channelName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 case 24: { timestamp_ = input.readUInt64(); bitField0_ |= 0x00000004; break; } // case 24 case 34: { io.milvus.grpc.SegmentStats m = input.readMessage( io.milvus.grpc.SegmentStats.parser(), extensionRegistry); if (segmentsStatsBuilder_ == null) { ensureSegmentsStatsIsMutable(); segmentsStats_.add(m); } else { segmentsStatsBuilder_.addMessage(m); } break; } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private io.milvus.grpc.MsgBase base_; private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder> baseBuilder_; /** * .milvus.proto.common.MsgBase base = 1; * @return Whether the base field is set. */ public boolean hasBase() { return ((bitField0_ & 0x00000001) != 0); } /** * .milvus.proto.common.MsgBase base = 1; * @return The base. */ public io.milvus.grpc.MsgBase getBase() { if (baseBuilder_ == null) { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } else { return baseBuilder_.getMessage(); } } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder setBase(io.milvus.grpc.MsgBase value) { if (baseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } base_ = value; } else { baseBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder setBase( io.milvus.grpc.MsgBase.Builder builderForValue) { if (baseBuilder_ == null) { base_ = builderForValue.build(); } else { baseBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder mergeBase(io.milvus.grpc.MsgBase value) { if (baseBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && base_ != null && base_ != io.milvus.grpc.MsgBase.getDefaultInstance()) { getBaseBuilder().mergeFrom(value); } else { base_ = value; } } else { baseBuilder_.mergeFrom(value); } if (base_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public Builder clearBase() { bitField0_ = (bitField0_ & ~0x00000001); base_ = null; if (baseBuilder_ != null) { baseBuilder_.dispose(); baseBuilder_ = null; } onChanged(); return this; } /** * .milvus.proto.common.MsgBase base = 1; */ public io.milvus.grpc.MsgBase.Builder getBaseBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBaseFieldBuilder().getBuilder(); } /** * .milvus.proto.common.MsgBase base = 1; */ public io.milvus.grpc.MsgBaseOrBuilder getBaseOrBuilder() { if (baseBuilder_ != null) { return baseBuilder_.getMessageOrBuilder(); } else { return base_ == null ? io.milvus.grpc.MsgBase.getDefaultInstance() : base_; } } /** * .milvus.proto.common.MsgBase base = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder> getBaseFieldBuilder() { if (baseBuilder_ == null) { baseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.milvus.grpc.MsgBase, io.milvus.grpc.MsgBase.Builder, io.milvus.grpc.MsgBaseOrBuilder>( getBase(), getParentForChildren(), isClean()); base_ = null; } return baseBuilder_; } private java.lang.Object channelName_ = ""; /** * string channel_name = 2; * @return The channelName. */ public java.lang.String getChannelName() { java.lang.Object ref = channelName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); channelName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string channel_name = 2; * @return The bytes for channelName. */ public com.google.protobuf.ByteString getChannelNameBytes() { java.lang.Object ref = channelName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); channelName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string channel_name = 2; * @param value The channelName to set. * @return This builder for chaining. */ public Builder setChannelName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } channelName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * string channel_name = 2; * @return This builder for chaining. */ public Builder clearChannelName() { channelName_ = getDefaultInstance().getChannelName(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * string channel_name = 2; * @param value The bytes for channelName to set. * @return This builder for chaining. */ public Builder setChannelNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); channelName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private long timestamp_ ; /** * uint64 timestamp = 3; * @return The timestamp. */ @java.lang.Override public long getTimestamp() { return timestamp_; } /** * uint64 timestamp = 3; * @param value The timestamp to set. * @return This builder for chaining. */ public Builder setTimestamp(long value) { timestamp_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** * uint64 timestamp = 3; * @return This builder for chaining. */ public Builder clearTimestamp() { bitField0_ = (bitField0_ & ~0x00000004); timestamp_ = 0L; onChanged(); return this; } private java.util.List segmentsStats_ = java.util.Collections.emptyList(); private void ensureSegmentsStatsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { segmentsStats_ = new java.util.ArrayList(segmentsStats_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.milvus.grpc.SegmentStats, io.milvus.grpc.SegmentStats.Builder, io.milvus.grpc.SegmentStatsOrBuilder> segmentsStatsBuilder_; /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ public java.util.List getSegmentsStatsList() { if (segmentsStatsBuilder_ == null) { return java.util.Collections.unmodifiableList(segmentsStats_); } else { return segmentsStatsBuilder_.getMessageList(); } } /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ public int getSegmentsStatsCount() { if (segmentsStatsBuilder_ == null) { return segmentsStats_.size(); } else { return segmentsStatsBuilder_.getCount(); } } /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ public io.milvus.grpc.SegmentStats getSegmentsStats(int index) { if (segmentsStatsBuilder_ == null) { return segmentsStats_.get(index); } else { return segmentsStatsBuilder_.getMessage(index); } } /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ public Builder setSegmentsStats( int index, io.milvus.grpc.SegmentStats value) { if (segmentsStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSegmentsStatsIsMutable(); segmentsStats_.set(index, value); onChanged(); } else { segmentsStatsBuilder_.setMessage(index, value); } return this; } /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ public Builder setSegmentsStats( int index, io.milvus.grpc.SegmentStats.Builder builderForValue) { if (segmentsStatsBuilder_ == null) { ensureSegmentsStatsIsMutable(); segmentsStats_.set(index, builderForValue.build()); onChanged(); } else { segmentsStatsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ public Builder addSegmentsStats(io.milvus.grpc.SegmentStats value) { if (segmentsStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSegmentsStatsIsMutable(); segmentsStats_.add(value); onChanged(); } else { segmentsStatsBuilder_.addMessage(value); } return this; } /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ public Builder addSegmentsStats( int index, io.milvus.grpc.SegmentStats value) { if (segmentsStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSegmentsStatsIsMutable(); segmentsStats_.add(index, value); onChanged(); } else { segmentsStatsBuilder_.addMessage(index, value); } return this; } /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ public Builder addSegmentsStats( io.milvus.grpc.SegmentStats.Builder builderForValue) { if (segmentsStatsBuilder_ == null) { ensureSegmentsStatsIsMutable(); segmentsStats_.add(builderForValue.build()); onChanged(); } else { segmentsStatsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ public Builder addSegmentsStats( int index, io.milvus.grpc.SegmentStats.Builder builderForValue) { if (segmentsStatsBuilder_ == null) { ensureSegmentsStatsIsMutable(); segmentsStats_.add(index, builderForValue.build()); onChanged(); } else { segmentsStatsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ public Builder addAllSegmentsStats( java.lang.Iterable values) { if (segmentsStatsBuilder_ == null) { ensureSegmentsStatsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, segmentsStats_); onChanged(); } else { segmentsStatsBuilder_.addAllMessages(values); } return this; } /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ public Builder clearSegmentsStats() { if (segmentsStatsBuilder_ == null) { segmentsStats_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { segmentsStatsBuilder_.clear(); } return this; } /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ public Builder removeSegmentsStats(int index) { if (segmentsStatsBuilder_ == null) { ensureSegmentsStatsIsMutable(); segmentsStats_.remove(index); onChanged(); } else { segmentsStatsBuilder_.remove(index); } return this; } /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ public io.milvus.grpc.SegmentStats.Builder getSegmentsStatsBuilder( int index) { return getSegmentsStatsFieldBuilder().getBuilder(index); } /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ public io.milvus.grpc.SegmentStatsOrBuilder getSegmentsStatsOrBuilder( int index) { if (segmentsStatsBuilder_ == null) { return segmentsStats_.get(index); } else { return segmentsStatsBuilder_.getMessageOrBuilder(index); } } /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ public java.util.List getSegmentsStatsOrBuilderList() { if (segmentsStatsBuilder_ != null) { return segmentsStatsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(segmentsStats_); } } /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ public io.milvus.grpc.SegmentStats.Builder addSegmentsStatsBuilder() { return getSegmentsStatsFieldBuilder().addBuilder( io.milvus.grpc.SegmentStats.getDefaultInstance()); } /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ public io.milvus.grpc.SegmentStats.Builder addSegmentsStatsBuilder( int index) { return getSegmentsStatsFieldBuilder().addBuilder( index, io.milvus.grpc.SegmentStats.getDefaultInstance()); } /** * repeated .milvus.proto.common.SegmentStats segments_stats = 4; */ public java.util.List getSegmentsStatsBuilderList() { return getSegmentsStatsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.milvus.grpc.SegmentStats, io.milvus.grpc.SegmentStats.Builder, io.milvus.grpc.SegmentStatsOrBuilder> getSegmentsStatsFieldBuilder() { if (segmentsStatsBuilder_ == null) { segmentsStatsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.milvus.grpc.SegmentStats, io.milvus.grpc.SegmentStats.Builder, io.milvus.grpc.SegmentStatsOrBuilder>( segmentsStats_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); segmentsStats_ = null; } return segmentsStatsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:milvus.proto.msg.DataNodeTtMsg) } // @@protoc_insertion_point(class_scope:milvus.proto.msg.DataNodeTtMsg) private static final milvus.proto.msg.Msg.DataNodeTtMsg DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new milvus.proto.msg.Msg.DataNodeTtMsg(); } public static milvus.proto.msg.Msg.DataNodeTtMsg getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DataNodeTtMsg parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public milvus.proto.msg.Msg.DataNodeTtMsg getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_milvus_proto_msg_InsertRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_milvus_proto_msg_InsertRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_milvus_proto_msg_DeleteRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_milvus_proto_msg_DeleteRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_milvus_proto_msg_MsgPosition_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_milvus_proto_msg_MsgPosition_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_milvus_proto_msg_CreateCollectionRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_milvus_proto_msg_CreateCollectionRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_milvus_proto_msg_DropCollectionRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_milvus_proto_msg_DropCollectionRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_milvus_proto_msg_CreatePartitionRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_milvus_proto_msg_CreatePartitionRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_milvus_proto_msg_DropPartitionRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_milvus_proto_msg_DropPartitionRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_milvus_proto_msg_TimeTickMsg_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_milvus_proto_msg_TimeTickMsg_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_milvus_proto_msg_DataNodeTtMsg_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_milvus_proto_msg_DataNodeTtMsg_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\tmsg.proto\022\020milvus.proto.msg\032\014common.pr" + "oto\032\014schema.proto\"\252\003\n\rInsertRequest\022*\n\004b" + "ase\030\001 \001(\0132\034.milvus.proto.common.MsgBase\022" + "\021\n\tshardName\030\002 \001(\t\022\017\n\007db_name\030\003 \001(\t\022\027\n\017c" + "ollection_name\030\004 \001(\t\022\026\n\016partition_name\030\005" + " \001(\t\022\014\n\004dbID\030\006 \001(\003\022\024\n\014collectionID\030\007 \001(\003" + "\022\023\n\013partitionID\030\010 \001(\003\022\021\n\tsegmentID\030\t \001(\003" + "\022\022\n\ntimestamps\030\n \003(\004\022\016\n\006rowIDs\030\013 \003(\003\022+\n\010" + "row_data\030\014 \003(\0132\031.milvus.proto.common.Blo" + "b\0223\n\013fields_data\030\r \003(\0132\036.milvus.proto.sc" + "hema.FieldData\022\020\n\010num_rows\030\016 \001(\004\0224\n\007vers" + "ion\030\017 \001(\0162#.milvus.proto.msg.InsertDataV" + "ersion\"\273\002\n\rDeleteRequest\022*\n\004base\030\001 \001(\0132\034" + ".milvus.proto.common.MsgBase\022\021\n\tshardNam" + "e\030\002 \001(\t\022\017\n\007db_name\030\003 \001(\t\022\027\n\017collection_n" + "ame\030\004 \001(\t\022\026\n\016partition_name\030\005 \001(\t\022\014\n\004dbI" + "D\030\006 \001(\003\022\024\n\014collectionID\030\007 \001(\003\022\023\n\013partiti" + "onID\030\010 \001(\003\022\032\n\022int64_primary_keys\030\t \003(\003\022\022" + "\n\ntimestamps\030\n \003(\004\022\020\n\010num_rows\030\013 \001(\003\022.\n\014" + "primary_keys\030\014 \001(\0132\030.milvus.proto.schema" + ".IDs\"W\n\013MsgPosition\022\024\n\014channel_name\030\001 \001(" + "\t\022\r\n\005msgID\030\002 \001(\014\022\020\n\010msgGroup\030\003 \001(\t\022\021\n\tti" + "mestamp\030\004 \001(\004\"\237\002\n\027CreateCollectionReques" + "t\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common.Ms" + "gBase\022\017\n\007db_name\030\002 \001(\t\022\026\n\016collectionName" + "\030\003 \001(\t\022\025\n\rpartitionName\030\004 \001(\t\022\014\n\004dbID\030\005 " + "\001(\003\022\024\n\014collectionID\030\006 \001(\003\022\023\n\013partitionID" + "\030\007 \001(\003\022\016\n\006schema\030\010 \001(\014\022\033\n\023virtualChannel" + "Names\030\t \003(\t\022\034\n\024physicalChannelNames\030\n \003(" + "\t\022\024\n\014partitionIDs\030\013 \003(\003\"\220\001\n\025DropCollecti" + "onRequest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.c" + "ommon.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\026\n\016collec" + "tionName\030\003 \001(\t\022\014\n\004dbID\030\004 \001(\003\022\024\n\014collecti" + "onID\030\005 \001(\003\"\277\001\n\026CreatePartitionRequest\022*\n" + "\004base\030\001 \001(\0132\034.milvus.proto.common.MsgBas" + "e\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_name\030\003 " + "\001(\t\022\026\n\016partition_name\030\004 \001(\t\022\014\n\004dbID\030\005 \001(" + "\003\022\024\n\014collectionID\030\006 \001(\003\022\023\n\013partitionID\030\007" + " \001(\003\"\275\001\n\024DropPartitionRequest\022*\n\004base\030\001 " + "\001(\0132\034.milvus.proto.common.MsgBase\022\017\n\007db_" + "name\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\022\026\n\016p" + "artition_name\030\004 \001(\t\022\014\n\004dbID\030\005 \001(\003\022\024\n\014col" + "lectionID\030\006 \001(\003\022\023\n\013partitionID\030\007 \001(\003\"9\n\013" + "TimeTickMsg\022*\n\004base\030\001 \001(\0132\034.milvus.proto" + ".common.MsgBase\"\237\001\n\rDataNodeTtMsg\022*\n\004bas" + "e\030\001 \001(\0132\034.milvus.proto.common.MsgBase\022\024\n" + "\014channel_name\030\002 \001(\t\022\021\n\ttimestamp\030\003 \001(\004\0229" + "\n\016segments_stats\030\004 \003(\0132!.milvus.proto.co" + "mmon.SegmentStats*2\n\021InsertDataVersion\022\014" + "\n\010RowBased\020\000\022\017\n\013ColumnBased\020\001B3Z1github." + "com/milvus-io/milvus-proto/go-api/v2/msg" + "pbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { io.milvus.grpc.CommonProto.getDescriptor(), io.milvus.grpc.SchemaProto.getDescriptor(), }); internal_static_milvus_proto_msg_InsertRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_milvus_proto_msg_InsertRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_milvus_proto_msg_InsertRequest_descriptor, new java.lang.String[] { "Base", "ShardName", "DbName", "CollectionName", "PartitionName", "DbID", "CollectionID", "PartitionID", "SegmentID", "Timestamps", "RowIDs", "RowData", "FieldsData", "NumRows", "Version", }); internal_static_milvus_proto_msg_DeleteRequest_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_milvus_proto_msg_DeleteRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_milvus_proto_msg_DeleteRequest_descriptor, new java.lang.String[] { "Base", "ShardName", "DbName", "CollectionName", "PartitionName", "DbID", "CollectionID", "PartitionID", "Int64PrimaryKeys", "Timestamps", "NumRows", "PrimaryKeys", }); internal_static_milvus_proto_msg_MsgPosition_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_milvus_proto_msg_MsgPosition_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_milvus_proto_msg_MsgPosition_descriptor, new java.lang.String[] { "ChannelName", "MsgID", "MsgGroup", "Timestamp", }); internal_static_milvus_proto_msg_CreateCollectionRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_milvus_proto_msg_CreateCollectionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_milvus_proto_msg_CreateCollectionRequest_descriptor, new java.lang.String[] { "Base", "DbName", "CollectionName", "PartitionName", "DbID", "CollectionID", "PartitionID", "Schema", "VirtualChannelNames", "PhysicalChannelNames", "PartitionIDs", }); internal_static_milvus_proto_msg_DropCollectionRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_milvus_proto_msg_DropCollectionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_milvus_proto_msg_DropCollectionRequest_descriptor, new java.lang.String[] { "Base", "DbName", "CollectionName", "DbID", "CollectionID", }); internal_static_milvus_proto_msg_CreatePartitionRequest_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_milvus_proto_msg_CreatePartitionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_milvus_proto_msg_CreatePartitionRequest_descriptor, new java.lang.String[] { "Base", "DbName", "CollectionName", "PartitionName", "DbID", "CollectionID", "PartitionID", }); internal_static_milvus_proto_msg_DropPartitionRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_milvus_proto_msg_DropPartitionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_milvus_proto_msg_DropPartitionRequest_descriptor, new java.lang.String[] { "Base", "DbName", "CollectionName", "PartitionName", "DbID", "CollectionID", "PartitionID", }); internal_static_milvus_proto_msg_TimeTickMsg_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_milvus_proto_msg_TimeTickMsg_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_milvus_proto_msg_TimeTickMsg_descriptor, new java.lang.String[] { "Base", }); internal_static_milvus_proto_msg_DataNodeTtMsg_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_milvus_proto_msg_DataNodeTtMsg_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_milvus_proto_msg_DataNodeTtMsg_descriptor, new java.lang.String[] { "Base", "ChannelName", "Timestamp", "SegmentsStats", }); io.milvus.grpc.CommonProto.getDescriptor(); io.milvus.grpc.SchemaProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy