io.milvus.grpc.FieldSchema Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of milvus-sdk-java Show documentation
Show all versions of milvus-sdk-java Show documentation
Java SDK for Milvus, a distributed high-performance vector search engine.
update grpc to 1.42.1
update protobuf to 3.19.1
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: schema.proto
package io.milvus.grpc;
/**
*
**
* @brief Field schema
*
*
* Protobuf type {@code milvus.proto.schema.FieldSchema}
*/
public final class FieldSchema extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:milvus.proto.schema.FieldSchema)
FieldSchemaOrBuilder {
private static final long serialVersionUID = 0L;
// Use FieldSchema.newBuilder() to construct.
private FieldSchema(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FieldSchema() {
name_ = "";
description_ = "";
dataType_ = 0;
typeParams_ = java.util.Collections.emptyList();
indexParams_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FieldSchema();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FieldSchema(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
fieldID_ = input.readInt64();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 24: {
isPrimaryKey_ = input.readBool();
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
description_ = s;
break;
}
case 40: {
int rawValue = input.readEnum();
dataType_ = rawValue;
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
typeParams_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
typeParams_.add(
input.readMessage(io.milvus.grpc.KeyValuePair.parser(), extensionRegistry));
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
indexParams_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
indexParams_.add(
input.readMessage(io.milvus.grpc.KeyValuePair.parser(), extensionRegistry));
break;
}
case 64: {
autoID_ = input.readBool();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
typeParams_ = java.util.Collections.unmodifiableList(typeParams_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
indexParams_ = java.util.Collections.unmodifiableList(indexParams_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.milvus.grpc.SchemaProto.internal_static_milvus_proto_schema_FieldSchema_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.milvus.grpc.SchemaProto.internal_static_milvus_proto_schema_FieldSchema_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.milvus.grpc.FieldSchema.class, io.milvus.grpc.FieldSchema.Builder.class);
}
public static final int FIELDID_FIELD_NUMBER = 1;
private long fieldID_;
/**
* int64 fieldID = 1;
* @return The fieldID.
*/
@java.lang.Override
public long getFieldID() {
return fieldID_;
}
public static final int NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
* string name = 2;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
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();
name_ = s;
return s;
}
}
/**
* string name = 2;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IS_PRIMARY_KEY_FIELD_NUMBER = 3;
private boolean isPrimaryKey_;
/**
* bool is_primary_key = 3;
* @return The isPrimaryKey.
*/
@java.lang.Override
public boolean getIsPrimaryKey() {
return isPrimaryKey_;
}
public static final int DESCRIPTION_FIELD_NUMBER = 4;
private volatile java.lang.Object description_;
/**
* string description = 4;
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
java.lang.Object ref = description_;
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();
description_ = s;
return s;
}
}
/**
* string description = 4;
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DATA_TYPE_FIELD_NUMBER = 5;
private int dataType_;
/**
* .milvus.proto.schema.DataType data_type = 5;
* @return The enum numeric value on the wire for dataType.
*/
@java.lang.Override public int getDataTypeValue() {
return dataType_;
}
/**
* .milvus.proto.schema.DataType data_type = 5;
* @return The dataType.
*/
@java.lang.Override public io.milvus.grpc.DataType getDataType() {
@SuppressWarnings("deprecation")
io.milvus.grpc.DataType result = io.milvus.grpc.DataType.valueOf(dataType_);
return result == null ? io.milvus.grpc.DataType.UNRECOGNIZED : result;
}
public static final int TYPE_PARAMS_FIELD_NUMBER = 6;
private java.util.List typeParams_;
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
@java.lang.Override
public java.util.List getTypeParamsList() {
return typeParams_;
}
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
@java.lang.Override
public java.util.List extends io.milvus.grpc.KeyValuePairOrBuilder>
getTypeParamsOrBuilderList() {
return typeParams_;
}
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
@java.lang.Override
public int getTypeParamsCount() {
return typeParams_.size();
}
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
@java.lang.Override
public io.milvus.grpc.KeyValuePair getTypeParams(int index) {
return typeParams_.get(index);
}
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
@java.lang.Override
public io.milvus.grpc.KeyValuePairOrBuilder getTypeParamsOrBuilder(
int index) {
return typeParams_.get(index);
}
public static final int INDEX_PARAMS_FIELD_NUMBER = 7;
private java.util.List indexParams_;
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
@java.lang.Override
public java.util.List getIndexParamsList() {
return indexParams_;
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
@java.lang.Override
public java.util.List extends io.milvus.grpc.KeyValuePairOrBuilder>
getIndexParamsOrBuilderList() {
return indexParams_;
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
@java.lang.Override
public int getIndexParamsCount() {
return indexParams_.size();
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
@java.lang.Override
public io.milvus.grpc.KeyValuePair getIndexParams(int index) {
return indexParams_.get(index);
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
@java.lang.Override
public io.milvus.grpc.KeyValuePairOrBuilder getIndexParamsOrBuilder(
int index) {
return indexParams_.get(index);
}
public static final int AUTOID_FIELD_NUMBER = 8;
private boolean autoID_;
/**
* bool autoID = 8;
* @return The autoID.
*/
@java.lang.Override
public boolean getAutoID() {
return autoID_;
}
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 (fieldID_ != 0L) {
output.writeInt64(1, fieldID_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
if (isPrimaryKey_ != false) {
output.writeBool(3, isPrimaryKey_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, description_);
}
if (dataType_ != io.milvus.grpc.DataType.None.getNumber()) {
output.writeEnum(5, dataType_);
}
for (int i = 0; i < typeParams_.size(); i++) {
output.writeMessage(6, typeParams_.get(i));
}
for (int i = 0; i < indexParams_.size(); i++) {
output.writeMessage(7, indexParams_.get(i));
}
if (autoID_ != false) {
output.writeBool(8, autoID_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (fieldID_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, fieldID_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
if (isPrimaryKey_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, isPrimaryKey_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, description_);
}
if (dataType_ != io.milvus.grpc.DataType.None.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(5, dataType_);
}
for (int i = 0; i < typeParams_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, typeParams_.get(i));
}
for (int i = 0; i < indexParams_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, indexParams_.get(i));
}
if (autoID_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(8, autoID_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.milvus.grpc.FieldSchema)) {
return super.equals(obj);
}
io.milvus.grpc.FieldSchema other = (io.milvus.grpc.FieldSchema) obj;
if (getFieldID()
!= other.getFieldID()) return false;
if (!getName()
.equals(other.getName())) return false;
if (getIsPrimaryKey()
!= other.getIsPrimaryKey()) return false;
if (!getDescription()
.equals(other.getDescription())) return false;
if (dataType_ != other.dataType_) return false;
if (!getTypeParamsList()
.equals(other.getTypeParamsList())) return false;
if (!getIndexParamsList()
.equals(other.getIndexParamsList())) return false;
if (getAutoID()
!= other.getAutoID()) return false;
if (!unknownFields.equals(other.unknownFields)) 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) + FIELDID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getFieldID());
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + IS_PRIMARY_KEY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsPrimaryKey());
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
hash = (37 * hash) + DATA_TYPE_FIELD_NUMBER;
hash = (53 * hash) + dataType_;
if (getTypeParamsCount() > 0) {
hash = (37 * hash) + TYPE_PARAMS_FIELD_NUMBER;
hash = (53 * hash) + getTypeParamsList().hashCode();
}
if (getIndexParamsCount() > 0) {
hash = (37 * hash) + INDEX_PARAMS_FIELD_NUMBER;
hash = (53 * hash) + getIndexParamsList().hashCode();
}
hash = (37 * hash) + AUTOID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getAutoID());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.milvus.grpc.FieldSchema parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.milvus.grpc.FieldSchema parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.milvus.grpc.FieldSchema parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.milvus.grpc.FieldSchema parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.milvus.grpc.FieldSchema parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.milvus.grpc.FieldSchema parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.milvus.grpc.FieldSchema parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.milvus.grpc.FieldSchema 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 io.milvus.grpc.FieldSchema parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.milvus.grpc.FieldSchema 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 io.milvus.grpc.FieldSchema parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.milvus.grpc.FieldSchema 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(io.milvus.grpc.FieldSchema 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;
}
/**
*
**
* @brief Field schema
*
*
* Protobuf type {@code milvus.proto.schema.FieldSchema}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:milvus.proto.schema.FieldSchema)
io.milvus.grpc.FieldSchemaOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.milvus.grpc.SchemaProto.internal_static_milvus_proto_schema_FieldSchema_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.milvus.grpc.SchemaProto.internal_static_milvus_proto_schema_FieldSchema_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.milvus.grpc.FieldSchema.class, io.milvus.grpc.FieldSchema.Builder.class);
}
// Construct using io.milvus.grpc.FieldSchema.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTypeParamsFieldBuilder();
getIndexParamsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
fieldID_ = 0L;
name_ = "";
isPrimaryKey_ = false;
description_ = "";
dataType_ = 0;
if (typeParamsBuilder_ == null) {
typeParams_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
typeParamsBuilder_.clear();
}
if (indexParamsBuilder_ == null) {
indexParams_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
indexParamsBuilder_.clear();
}
autoID_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.milvus.grpc.SchemaProto.internal_static_milvus_proto_schema_FieldSchema_descriptor;
}
@java.lang.Override
public io.milvus.grpc.FieldSchema getDefaultInstanceForType() {
return io.milvus.grpc.FieldSchema.getDefaultInstance();
}
@java.lang.Override
public io.milvus.grpc.FieldSchema build() {
io.milvus.grpc.FieldSchema result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.milvus.grpc.FieldSchema buildPartial() {
io.milvus.grpc.FieldSchema result = new io.milvus.grpc.FieldSchema(this);
int from_bitField0_ = bitField0_;
result.fieldID_ = fieldID_;
result.name_ = name_;
result.isPrimaryKey_ = isPrimaryKey_;
result.description_ = description_;
result.dataType_ = dataType_;
if (typeParamsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
typeParams_ = java.util.Collections.unmodifiableList(typeParams_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.typeParams_ = typeParams_;
} else {
result.typeParams_ = typeParamsBuilder_.build();
}
if (indexParamsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
indexParams_ = java.util.Collections.unmodifiableList(indexParams_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.indexParams_ = indexParams_;
} else {
result.indexParams_ = indexParamsBuilder_.build();
}
result.autoID_ = autoID_;
onBuilt();
return result;
}
@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 io.milvus.grpc.FieldSchema) {
return mergeFrom((io.milvus.grpc.FieldSchema)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.milvus.grpc.FieldSchema other) {
if (other == io.milvus.grpc.FieldSchema.getDefaultInstance()) return this;
if (other.getFieldID() != 0L) {
setFieldID(other.getFieldID());
}
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (other.getIsPrimaryKey() != false) {
setIsPrimaryKey(other.getIsPrimaryKey());
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
onChanged();
}
if (other.dataType_ != 0) {
setDataTypeValue(other.getDataTypeValue());
}
if (typeParamsBuilder_ == null) {
if (!other.typeParams_.isEmpty()) {
if (typeParams_.isEmpty()) {
typeParams_ = other.typeParams_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTypeParamsIsMutable();
typeParams_.addAll(other.typeParams_);
}
onChanged();
}
} else {
if (!other.typeParams_.isEmpty()) {
if (typeParamsBuilder_.isEmpty()) {
typeParamsBuilder_.dispose();
typeParamsBuilder_ = null;
typeParams_ = other.typeParams_;
bitField0_ = (bitField0_ & ~0x00000001);
typeParamsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getTypeParamsFieldBuilder() : null;
} else {
typeParamsBuilder_.addAllMessages(other.typeParams_);
}
}
}
if (indexParamsBuilder_ == null) {
if (!other.indexParams_.isEmpty()) {
if (indexParams_.isEmpty()) {
indexParams_ = other.indexParams_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureIndexParamsIsMutable();
indexParams_.addAll(other.indexParams_);
}
onChanged();
}
} else {
if (!other.indexParams_.isEmpty()) {
if (indexParamsBuilder_.isEmpty()) {
indexParamsBuilder_.dispose();
indexParamsBuilder_ = null;
indexParams_ = other.indexParams_;
bitField0_ = (bitField0_ & ~0x00000002);
indexParamsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getIndexParamsFieldBuilder() : null;
} else {
indexParamsBuilder_.addAllMessages(other.indexParams_);
}
}
}
if (other.getAutoID() != false) {
setAutoID(other.getAutoID());
}
this.mergeUnknownFields(other.unknownFields);
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 {
io.milvus.grpc.FieldSchema parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.milvus.grpc.FieldSchema) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long fieldID_ ;
/**
* int64 fieldID = 1;
* @return The fieldID.
*/
@java.lang.Override
public long getFieldID() {
return fieldID_;
}
/**
* int64 fieldID = 1;
* @param value The fieldID to set.
* @return This builder for chaining.
*/
public Builder setFieldID(long value) {
fieldID_ = value;
onChanged();
return this;
}
/**
* int64 fieldID = 1;
* @return This builder for chaining.
*/
public Builder clearFieldID() {
fieldID_ = 0L;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* string name = 2;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string name = 2;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string name = 2;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* string name = 2;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* string name = 2;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private boolean isPrimaryKey_ ;
/**
* bool is_primary_key = 3;
* @return The isPrimaryKey.
*/
@java.lang.Override
public boolean getIsPrimaryKey() {
return isPrimaryKey_;
}
/**
* bool is_primary_key = 3;
* @param value The isPrimaryKey to set.
* @return This builder for chaining.
*/
public Builder setIsPrimaryKey(boolean value) {
isPrimaryKey_ = value;
onChanged();
return this;
}
/**
* bool is_primary_key = 3;
* @return This builder for chaining.
*/
public Builder clearIsPrimaryKey() {
isPrimaryKey_ = false;
onChanged();
return this;
}
private java.lang.Object description_ = "";
/**
* string description = 4;
* @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string description = 4;
* @return The bytes for description.
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string description = 4;
* @param value The description to set.
* @return This builder for chaining.
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
description_ = value;
onChanged();
return this;
}
/**
* string description = 4;
* @return This builder for chaining.
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
onChanged();
return this;
}
/**
* string description = 4;
* @param value The bytes for description to set.
* @return This builder for chaining.
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
description_ = value;
onChanged();
return this;
}
private int dataType_ = 0;
/**
* .milvus.proto.schema.DataType data_type = 5;
* @return The enum numeric value on the wire for dataType.
*/
@java.lang.Override public int getDataTypeValue() {
return dataType_;
}
/**
* .milvus.proto.schema.DataType data_type = 5;
* @param value The enum numeric value on the wire for dataType to set.
* @return This builder for chaining.
*/
public Builder setDataTypeValue(int value) {
dataType_ = value;
onChanged();
return this;
}
/**
* .milvus.proto.schema.DataType data_type = 5;
* @return The dataType.
*/
@java.lang.Override
public io.milvus.grpc.DataType getDataType() {
@SuppressWarnings("deprecation")
io.milvus.grpc.DataType result = io.milvus.grpc.DataType.valueOf(dataType_);
return result == null ? io.milvus.grpc.DataType.UNRECOGNIZED : result;
}
/**
* .milvus.proto.schema.DataType data_type = 5;
* @param value The dataType to set.
* @return This builder for chaining.
*/
public Builder setDataType(io.milvus.grpc.DataType value) {
if (value == null) {
throw new NullPointerException();
}
dataType_ = value.getNumber();
onChanged();
return this;
}
/**
* .milvus.proto.schema.DataType data_type = 5;
* @return This builder for chaining.
*/
public Builder clearDataType() {
dataType_ = 0;
onChanged();
return this;
}
private java.util.List typeParams_ =
java.util.Collections.emptyList();
private void ensureTypeParamsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
typeParams_ = new java.util.ArrayList(typeParams_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.milvus.grpc.KeyValuePair, io.milvus.grpc.KeyValuePair.Builder, io.milvus.grpc.KeyValuePairOrBuilder> typeParamsBuilder_;
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
public java.util.List getTypeParamsList() {
if (typeParamsBuilder_ == null) {
return java.util.Collections.unmodifiableList(typeParams_);
} else {
return typeParamsBuilder_.getMessageList();
}
}
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
public int getTypeParamsCount() {
if (typeParamsBuilder_ == null) {
return typeParams_.size();
} else {
return typeParamsBuilder_.getCount();
}
}
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
public io.milvus.grpc.KeyValuePair getTypeParams(int index) {
if (typeParamsBuilder_ == null) {
return typeParams_.get(index);
} else {
return typeParamsBuilder_.getMessage(index);
}
}
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
public Builder setTypeParams(
int index, io.milvus.grpc.KeyValuePair value) {
if (typeParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTypeParamsIsMutable();
typeParams_.set(index, value);
onChanged();
} else {
typeParamsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
public Builder setTypeParams(
int index, io.milvus.grpc.KeyValuePair.Builder builderForValue) {
if (typeParamsBuilder_ == null) {
ensureTypeParamsIsMutable();
typeParams_.set(index, builderForValue.build());
onChanged();
} else {
typeParamsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
public Builder addTypeParams(io.milvus.grpc.KeyValuePair value) {
if (typeParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTypeParamsIsMutable();
typeParams_.add(value);
onChanged();
} else {
typeParamsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
public Builder addTypeParams(
int index, io.milvus.grpc.KeyValuePair value) {
if (typeParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTypeParamsIsMutable();
typeParams_.add(index, value);
onChanged();
} else {
typeParamsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
public Builder addTypeParams(
io.milvus.grpc.KeyValuePair.Builder builderForValue) {
if (typeParamsBuilder_ == null) {
ensureTypeParamsIsMutable();
typeParams_.add(builderForValue.build());
onChanged();
} else {
typeParamsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
public Builder addTypeParams(
int index, io.milvus.grpc.KeyValuePair.Builder builderForValue) {
if (typeParamsBuilder_ == null) {
ensureTypeParamsIsMutable();
typeParams_.add(index, builderForValue.build());
onChanged();
} else {
typeParamsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
public Builder addAllTypeParams(
java.lang.Iterable extends io.milvus.grpc.KeyValuePair> values) {
if (typeParamsBuilder_ == null) {
ensureTypeParamsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, typeParams_);
onChanged();
} else {
typeParamsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
public Builder clearTypeParams() {
if (typeParamsBuilder_ == null) {
typeParams_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
typeParamsBuilder_.clear();
}
return this;
}
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
public Builder removeTypeParams(int index) {
if (typeParamsBuilder_ == null) {
ensureTypeParamsIsMutable();
typeParams_.remove(index);
onChanged();
} else {
typeParamsBuilder_.remove(index);
}
return this;
}
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
public io.milvus.grpc.KeyValuePair.Builder getTypeParamsBuilder(
int index) {
return getTypeParamsFieldBuilder().getBuilder(index);
}
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
public io.milvus.grpc.KeyValuePairOrBuilder getTypeParamsOrBuilder(
int index) {
if (typeParamsBuilder_ == null) {
return typeParams_.get(index); } else {
return typeParamsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
public java.util.List extends io.milvus.grpc.KeyValuePairOrBuilder>
getTypeParamsOrBuilderList() {
if (typeParamsBuilder_ != null) {
return typeParamsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(typeParams_);
}
}
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
public io.milvus.grpc.KeyValuePair.Builder addTypeParamsBuilder() {
return getTypeParamsFieldBuilder().addBuilder(
io.milvus.grpc.KeyValuePair.getDefaultInstance());
}
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
public io.milvus.grpc.KeyValuePair.Builder addTypeParamsBuilder(
int index) {
return getTypeParamsFieldBuilder().addBuilder(
index, io.milvus.grpc.KeyValuePair.getDefaultInstance());
}
/**
* repeated .milvus.proto.common.KeyValuePair type_params = 6;
*/
public java.util.List
getTypeParamsBuilderList() {
return getTypeParamsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.milvus.grpc.KeyValuePair, io.milvus.grpc.KeyValuePair.Builder, io.milvus.grpc.KeyValuePairOrBuilder>
getTypeParamsFieldBuilder() {
if (typeParamsBuilder_ == null) {
typeParamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.milvus.grpc.KeyValuePair, io.milvus.grpc.KeyValuePair.Builder, io.milvus.grpc.KeyValuePairOrBuilder>(
typeParams_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
typeParams_ = null;
}
return typeParamsBuilder_;
}
private java.util.List indexParams_ =
java.util.Collections.emptyList();
private void ensureIndexParamsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
indexParams_ = new java.util.ArrayList(indexParams_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.milvus.grpc.KeyValuePair, io.milvus.grpc.KeyValuePair.Builder, io.milvus.grpc.KeyValuePairOrBuilder> indexParamsBuilder_;
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
public java.util.List getIndexParamsList() {
if (indexParamsBuilder_ == null) {
return java.util.Collections.unmodifiableList(indexParams_);
} else {
return indexParamsBuilder_.getMessageList();
}
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
public int getIndexParamsCount() {
if (indexParamsBuilder_ == null) {
return indexParams_.size();
} else {
return indexParamsBuilder_.getCount();
}
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
public io.milvus.grpc.KeyValuePair getIndexParams(int index) {
if (indexParamsBuilder_ == null) {
return indexParams_.get(index);
} else {
return indexParamsBuilder_.getMessage(index);
}
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
public Builder setIndexParams(
int index, io.milvus.grpc.KeyValuePair value) {
if (indexParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureIndexParamsIsMutable();
indexParams_.set(index, value);
onChanged();
} else {
indexParamsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
public Builder setIndexParams(
int index, io.milvus.grpc.KeyValuePair.Builder builderForValue) {
if (indexParamsBuilder_ == null) {
ensureIndexParamsIsMutable();
indexParams_.set(index, builderForValue.build());
onChanged();
} else {
indexParamsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
public Builder addIndexParams(io.milvus.grpc.KeyValuePair value) {
if (indexParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureIndexParamsIsMutable();
indexParams_.add(value);
onChanged();
} else {
indexParamsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
public Builder addIndexParams(
int index, io.milvus.grpc.KeyValuePair value) {
if (indexParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureIndexParamsIsMutable();
indexParams_.add(index, value);
onChanged();
} else {
indexParamsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
public Builder addIndexParams(
io.milvus.grpc.KeyValuePair.Builder builderForValue) {
if (indexParamsBuilder_ == null) {
ensureIndexParamsIsMutable();
indexParams_.add(builderForValue.build());
onChanged();
} else {
indexParamsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
public Builder addIndexParams(
int index, io.milvus.grpc.KeyValuePair.Builder builderForValue) {
if (indexParamsBuilder_ == null) {
ensureIndexParamsIsMutable();
indexParams_.add(index, builderForValue.build());
onChanged();
} else {
indexParamsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
public Builder addAllIndexParams(
java.lang.Iterable extends io.milvus.grpc.KeyValuePair> values) {
if (indexParamsBuilder_ == null) {
ensureIndexParamsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, indexParams_);
onChanged();
} else {
indexParamsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
public Builder clearIndexParams() {
if (indexParamsBuilder_ == null) {
indexParams_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
indexParamsBuilder_.clear();
}
return this;
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
public Builder removeIndexParams(int index) {
if (indexParamsBuilder_ == null) {
ensureIndexParamsIsMutable();
indexParams_.remove(index);
onChanged();
} else {
indexParamsBuilder_.remove(index);
}
return this;
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
public io.milvus.grpc.KeyValuePair.Builder getIndexParamsBuilder(
int index) {
return getIndexParamsFieldBuilder().getBuilder(index);
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
public io.milvus.grpc.KeyValuePairOrBuilder getIndexParamsOrBuilder(
int index) {
if (indexParamsBuilder_ == null) {
return indexParams_.get(index); } else {
return indexParamsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
public java.util.List extends io.milvus.grpc.KeyValuePairOrBuilder>
getIndexParamsOrBuilderList() {
if (indexParamsBuilder_ != null) {
return indexParamsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(indexParams_);
}
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
public io.milvus.grpc.KeyValuePair.Builder addIndexParamsBuilder() {
return getIndexParamsFieldBuilder().addBuilder(
io.milvus.grpc.KeyValuePair.getDefaultInstance());
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
public io.milvus.grpc.KeyValuePair.Builder addIndexParamsBuilder(
int index) {
return getIndexParamsFieldBuilder().addBuilder(
index, io.milvus.grpc.KeyValuePair.getDefaultInstance());
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 7;
*/
public java.util.List
getIndexParamsBuilderList() {
return getIndexParamsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.milvus.grpc.KeyValuePair, io.milvus.grpc.KeyValuePair.Builder, io.milvus.grpc.KeyValuePairOrBuilder>
getIndexParamsFieldBuilder() {
if (indexParamsBuilder_ == null) {
indexParamsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.milvus.grpc.KeyValuePair, io.milvus.grpc.KeyValuePair.Builder, io.milvus.grpc.KeyValuePairOrBuilder>(
indexParams_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
indexParams_ = null;
}
return indexParamsBuilder_;
}
private boolean autoID_ ;
/**
* bool autoID = 8;
* @return The autoID.
*/
@java.lang.Override
public boolean getAutoID() {
return autoID_;
}
/**
* bool autoID = 8;
* @param value The autoID to set.
* @return This builder for chaining.
*/
public Builder setAutoID(boolean value) {
autoID_ = value;
onChanged();
return this;
}
/**
* bool autoID = 8;
* @return This builder for chaining.
*/
public Builder clearAutoID() {
autoID_ = false;
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.schema.FieldSchema)
}
// @@protoc_insertion_point(class_scope:milvus.proto.schema.FieldSchema)
private static final io.milvus.grpc.FieldSchema DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.milvus.grpc.FieldSchema();
}
public static io.milvus.grpc.FieldSchema getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FieldSchema parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FieldSchema(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.milvus.grpc.FieldSchema getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}