io.milvus.grpc.ArrayArray 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 database.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: schema.proto
package io.milvus.grpc;
/**
* Protobuf type {@code milvus.proto.schema.ArrayArray}
*/
public final class ArrayArray extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:milvus.proto.schema.ArrayArray)
ArrayArrayOrBuilder {
private static final long serialVersionUID = 0L;
// Use ArrayArray.newBuilder() to construct.
private ArrayArray(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ArrayArray() {
data_ = java.util.Collections.emptyList();
elementType_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ArrayArray();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.milvus.grpc.SchemaProto.internal_static_milvus_proto_schema_ArrayArray_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.milvus.grpc.SchemaProto.internal_static_milvus_proto_schema_ArrayArray_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.milvus.grpc.ArrayArray.class, io.milvus.grpc.ArrayArray.Builder.class);
}
public static final int DATA_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private java.util.List data_;
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
@java.lang.Override
public java.util.List getDataList() {
return data_;
}
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
@java.lang.Override
public java.util.List extends io.milvus.grpc.ScalarFieldOrBuilder>
getDataOrBuilderList() {
return data_;
}
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
@java.lang.Override
public int getDataCount() {
return data_.size();
}
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
@java.lang.Override
public io.milvus.grpc.ScalarField getData(int index) {
return data_.get(index);
}
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
@java.lang.Override
public io.milvus.grpc.ScalarFieldOrBuilder getDataOrBuilder(
int index) {
return data_.get(index);
}
public static final int ELEMENT_TYPE_FIELD_NUMBER = 2;
private int elementType_ = 0;
/**
* .milvus.proto.schema.DataType element_type = 2;
* @return The enum numeric value on the wire for elementType.
*/
@java.lang.Override public int getElementTypeValue() {
return elementType_;
}
/**
* .milvus.proto.schema.DataType element_type = 2;
* @return The elementType.
*/
@java.lang.Override public io.milvus.grpc.DataType getElementType() {
io.milvus.grpc.DataType result = io.milvus.grpc.DataType.forNumber(elementType_);
return result == null ? io.milvus.grpc.DataType.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 {
for (int i = 0; i < data_.size(); i++) {
output.writeMessage(1, data_.get(i));
}
if (elementType_ != io.milvus.grpc.DataType.None.getNumber()) {
output.writeEnum(2, elementType_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < data_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, data_.get(i));
}
if (elementType_ != io.milvus.grpc.DataType.None.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, elementType_);
}
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 io.milvus.grpc.ArrayArray)) {
return super.equals(obj);
}
io.milvus.grpc.ArrayArray other = (io.milvus.grpc.ArrayArray) obj;
if (!getDataList()
.equals(other.getDataList())) return false;
if (elementType_ != other.elementType_) 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 (getDataCount() > 0) {
hash = (37 * hash) + DATA_FIELD_NUMBER;
hash = (53 * hash) + getDataList().hashCode();
}
hash = (37 * hash) + ELEMENT_TYPE_FIELD_NUMBER;
hash = (53 * hash) + elementType_;
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.milvus.grpc.ArrayArray parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.milvus.grpc.ArrayArray 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.ArrayArray parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.milvus.grpc.ArrayArray 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.ArrayArray parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.milvus.grpc.ArrayArray parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.milvus.grpc.ArrayArray parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.milvus.grpc.ArrayArray 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.ArrayArray parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.milvus.grpc.ArrayArray 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.ArrayArray parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.milvus.grpc.ArrayArray 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.ArrayArray 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.schema.ArrayArray}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:milvus.proto.schema.ArrayArray)
io.milvus.grpc.ArrayArrayOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.milvus.grpc.SchemaProto.internal_static_milvus_proto_schema_ArrayArray_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.milvus.grpc.SchemaProto.internal_static_milvus_proto_schema_ArrayArray_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.milvus.grpc.ArrayArray.class, io.milvus.grpc.ArrayArray.Builder.class);
}
// Construct using io.milvus.grpc.ArrayArray.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (dataBuilder_ == null) {
data_ = java.util.Collections.emptyList();
} else {
data_ = null;
dataBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
elementType_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.milvus.grpc.SchemaProto.internal_static_milvus_proto_schema_ArrayArray_descriptor;
}
@java.lang.Override
public io.milvus.grpc.ArrayArray getDefaultInstanceForType() {
return io.milvus.grpc.ArrayArray.getDefaultInstance();
}
@java.lang.Override
public io.milvus.grpc.ArrayArray build() {
io.milvus.grpc.ArrayArray result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.milvus.grpc.ArrayArray buildPartial() {
io.milvus.grpc.ArrayArray result = new io.milvus.grpc.ArrayArray(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(io.milvus.grpc.ArrayArray result) {
if (dataBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
data_ = java.util.Collections.unmodifiableList(data_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.data_ = data_;
} else {
result.data_ = dataBuilder_.build();
}
}
private void buildPartial0(io.milvus.grpc.ArrayArray result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.elementType_ = elementType_;
}
}
@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.ArrayArray) {
return mergeFrom((io.milvus.grpc.ArrayArray)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.milvus.grpc.ArrayArray other) {
if (other == io.milvus.grpc.ArrayArray.getDefaultInstance()) return this;
if (dataBuilder_ == null) {
if (!other.data_.isEmpty()) {
if (data_.isEmpty()) {
data_ = other.data_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDataIsMutable();
data_.addAll(other.data_);
}
onChanged();
}
} else {
if (!other.data_.isEmpty()) {
if (dataBuilder_.isEmpty()) {
dataBuilder_.dispose();
dataBuilder_ = null;
data_ = other.data_;
bitField0_ = (bitField0_ & ~0x00000001);
dataBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDataFieldBuilder() : null;
} else {
dataBuilder_.addAllMessages(other.data_);
}
}
}
if (other.elementType_ != 0) {
setElementTypeValue(other.getElementTypeValue());
}
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: {
io.milvus.grpc.ScalarField m =
input.readMessage(
io.milvus.grpc.ScalarField.parser(),
extensionRegistry);
if (dataBuilder_ == null) {
ensureDataIsMutable();
data_.add(m);
} else {
dataBuilder_.addMessage(m);
}
break;
} // case 10
case 16: {
elementType_ = input.readEnum();
bitField0_ |= 0x00000002;
break;
} // case 16
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.util.List data_ =
java.util.Collections.emptyList();
private void ensureDataIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
data_ = new java.util.ArrayList(data_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.milvus.grpc.ScalarField, io.milvus.grpc.ScalarField.Builder, io.milvus.grpc.ScalarFieldOrBuilder> dataBuilder_;
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
public java.util.List getDataList() {
if (dataBuilder_ == null) {
return java.util.Collections.unmodifiableList(data_);
} else {
return dataBuilder_.getMessageList();
}
}
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
public int getDataCount() {
if (dataBuilder_ == null) {
return data_.size();
} else {
return dataBuilder_.getCount();
}
}
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
public io.milvus.grpc.ScalarField getData(int index) {
if (dataBuilder_ == null) {
return data_.get(index);
} else {
return dataBuilder_.getMessage(index);
}
}
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
public Builder setData(
int index, io.milvus.grpc.ScalarField value) {
if (dataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDataIsMutable();
data_.set(index, value);
onChanged();
} else {
dataBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
public Builder setData(
int index, io.milvus.grpc.ScalarField.Builder builderForValue) {
if (dataBuilder_ == null) {
ensureDataIsMutable();
data_.set(index, builderForValue.build());
onChanged();
} else {
dataBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
public Builder addData(io.milvus.grpc.ScalarField value) {
if (dataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDataIsMutable();
data_.add(value);
onChanged();
} else {
dataBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
public Builder addData(
int index, io.milvus.grpc.ScalarField value) {
if (dataBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDataIsMutable();
data_.add(index, value);
onChanged();
} else {
dataBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
public Builder addData(
io.milvus.grpc.ScalarField.Builder builderForValue) {
if (dataBuilder_ == null) {
ensureDataIsMutable();
data_.add(builderForValue.build());
onChanged();
} else {
dataBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
public Builder addData(
int index, io.milvus.grpc.ScalarField.Builder builderForValue) {
if (dataBuilder_ == null) {
ensureDataIsMutable();
data_.add(index, builderForValue.build());
onChanged();
} else {
dataBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
public Builder addAllData(
java.lang.Iterable extends io.milvus.grpc.ScalarField> values) {
if (dataBuilder_ == null) {
ensureDataIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, data_);
onChanged();
} else {
dataBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
public Builder clearData() {
if (dataBuilder_ == null) {
data_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
dataBuilder_.clear();
}
return this;
}
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
public Builder removeData(int index) {
if (dataBuilder_ == null) {
ensureDataIsMutable();
data_.remove(index);
onChanged();
} else {
dataBuilder_.remove(index);
}
return this;
}
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
public io.milvus.grpc.ScalarField.Builder getDataBuilder(
int index) {
return getDataFieldBuilder().getBuilder(index);
}
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
public io.milvus.grpc.ScalarFieldOrBuilder getDataOrBuilder(
int index) {
if (dataBuilder_ == null) {
return data_.get(index); } else {
return dataBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
public java.util.List extends io.milvus.grpc.ScalarFieldOrBuilder>
getDataOrBuilderList() {
if (dataBuilder_ != null) {
return dataBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(data_);
}
}
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
public io.milvus.grpc.ScalarField.Builder addDataBuilder() {
return getDataFieldBuilder().addBuilder(
io.milvus.grpc.ScalarField.getDefaultInstance());
}
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
public io.milvus.grpc.ScalarField.Builder addDataBuilder(
int index) {
return getDataFieldBuilder().addBuilder(
index, io.milvus.grpc.ScalarField.getDefaultInstance());
}
/**
* repeated .milvus.proto.schema.ScalarField data = 1;
*/
public java.util.List
getDataBuilderList() {
return getDataFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.milvus.grpc.ScalarField, io.milvus.grpc.ScalarField.Builder, io.milvus.grpc.ScalarFieldOrBuilder>
getDataFieldBuilder() {
if (dataBuilder_ == null) {
dataBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.milvus.grpc.ScalarField, io.milvus.grpc.ScalarField.Builder, io.milvus.grpc.ScalarFieldOrBuilder>(
data_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
data_ = null;
}
return dataBuilder_;
}
private int elementType_ = 0;
/**
* .milvus.proto.schema.DataType element_type = 2;
* @return The enum numeric value on the wire for elementType.
*/
@java.lang.Override public int getElementTypeValue() {
return elementType_;
}
/**
* .milvus.proto.schema.DataType element_type = 2;
* @param value The enum numeric value on the wire for elementType to set.
* @return This builder for chaining.
*/
public Builder setElementTypeValue(int value) {
elementType_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .milvus.proto.schema.DataType element_type = 2;
* @return The elementType.
*/
@java.lang.Override
public io.milvus.grpc.DataType getElementType() {
io.milvus.grpc.DataType result = io.milvus.grpc.DataType.forNumber(elementType_);
return result == null ? io.milvus.grpc.DataType.UNRECOGNIZED : result;
}
/**
* .milvus.proto.schema.DataType element_type = 2;
* @param value The elementType to set.
* @return This builder for chaining.
*/
public Builder setElementType(io.milvus.grpc.DataType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
elementType_ = value.getNumber();
onChanged();
return this;
}
/**
* .milvus.proto.schema.DataType element_type = 2;
* @return This builder for chaining.
*/
public Builder clearElementType() {
bitField0_ = (bitField0_ & ~0x00000002);
elementType_ = 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.schema.ArrayArray)
}
// @@protoc_insertion_point(class_scope:milvus.proto.schema.ArrayArray)
private static final io.milvus.grpc.ArrayArray DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.milvus.grpc.ArrayArray();
}
public static io.milvus.grpc.ArrayArray getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ArrayArray 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 io.milvus.grpc.ArrayArray getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}