milvus.proto.feder.Feder 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: feder.proto
package milvus.proto.feder;
public final class Feder {
private Feder() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface SegmentIndexDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:milvus.proto.feder.SegmentIndexData)
com.google.protobuf.MessageOrBuilder {
/**
* int64 segmentID = 1;
* @return The segmentID.
*/
long getSegmentID();
/**
*
* data from knownwhere
*
*
* string index_data = 2;
* @return The indexData.
*/
java.lang.String getIndexData();
/**
*
* data from knownwhere
*
*
* string index_data = 2;
* @return The bytes for indexData.
*/
com.google.protobuf.ByteString
getIndexDataBytes();
}
/**
* Protobuf type {@code milvus.proto.feder.SegmentIndexData}
*/
public static final class SegmentIndexData extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:milvus.proto.feder.SegmentIndexData)
SegmentIndexDataOrBuilder {
private static final long serialVersionUID = 0L;
// Use SegmentIndexData.newBuilder() to construct.
private SegmentIndexData(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SegmentIndexData() {
indexData_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SegmentIndexData();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_SegmentIndexData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_SegmentIndexData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
milvus.proto.feder.Feder.SegmentIndexData.class, milvus.proto.feder.Feder.SegmentIndexData.Builder.class);
}
public static final int SEGMENTID_FIELD_NUMBER = 1;
private long segmentID_ = 0L;
/**
* int64 segmentID = 1;
* @return The segmentID.
*/
@java.lang.Override
public long getSegmentID() {
return segmentID_;
}
public static final int INDEX_DATA_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object indexData_ = "";
/**
*
* data from knownwhere
*
*
* string index_data = 2;
* @return The indexData.
*/
@java.lang.Override
public java.lang.String getIndexData() {
java.lang.Object ref = indexData_;
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();
indexData_ = s;
return s;
}
}
/**
*
* data from knownwhere
*
*
* string index_data = 2;
* @return The bytes for indexData.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIndexDataBytes() {
java.lang.Object ref = indexData_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
indexData_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (segmentID_ != 0L) {
output.writeInt64(1, segmentID_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexData_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, indexData_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (segmentID_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, segmentID_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexData_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, indexData_);
}
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.feder.Feder.SegmentIndexData)) {
return super.equals(obj);
}
milvus.proto.feder.Feder.SegmentIndexData other = (milvus.proto.feder.Feder.SegmentIndexData) obj;
if (getSegmentID()
!= other.getSegmentID()) return false;
if (!getIndexData()
.equals(other.getIndexData())) 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) + SEGMENTID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSegmentID());
hash = (37 * hash) + INDEX_DATA_FIELD_NUMBER;
hash = (53 * hash) + getIndexData().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static milvus.proto.feder.Feder.SegmentIndexData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static milvus.proto.feder.Feder.SegmentIndexData parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static milvus.proto.feder.Feder.SegmentIndexData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static milvus.proto.feder.Feder.SegmentIndexData 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.feder.Feder.SegmentIndexData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static milvus.proto.feder.Feder.SegmentIndexData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static milvus.proto.feder.Feder.SegmentIndexData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static milvus.proto.feder.Feder.SegmentIndexData 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.feder.Feder.SegmentIndexData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static milvus.proto.feder.Feder.SegmentIndexData 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.feder.Feder.SegmentIndexData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static milvus.proto.feder.Feder.SegmentIndexData 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.feder.Feder.SegmentIndexData 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.feder.SegmentIndexData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:milvus.proto.feder.SegmentIndexData)
milvus.proto.feder.Feder.SegmentIndexDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_SegmentIndexData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_SegmentIndexData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
milvus.proto.feder.Feder.SegmentIndexData.class, milvus.proto.feder.Feder.SegmentIndexData.Builder.class);
}
// Construct using milvus.proto.feder.Feder.SegmentIndexData.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
segmentID_ = 0L;
indexData_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_SegmentIndexData_descriptor;
}
@java.lang.Override
public milvus.proto.feder.Feder.SegmentIndexData getDefaultInstanceForType() {
return milvus.proto.feder.Feder.SegmentIndexData.getDefaultInstance();
}
@java.lang.Override
public milvus.proto.feder.Feder.SegmentIndexData build() {
milvus.proto.feder.Feder.SegmentIndexData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public milvus.proto.feder.Feder.SegmentIndexData buildPartial() {
milvus.proto.feder.Feder.SegmentIndexData result = new milvus.proto.feder.Feder.SegmentIndexData(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(milvus.proto.feder.Feder.SegmentIndexData result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.segmentID_ = segmentID_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.indexData_ = indexData_;
}
}
@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.feder.Feder.SegmentIndexData) {
return mergeFrom((milvus.proto.feder.Feder.SegmentIndexData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(milvus.proto.feder.Feder.SegmentIndexData other) {
if (other == milvus.proto.feder.Feder.SegmentIndexData.getDefaultInstance()) return this;
if (other.getSegmentID() != 0L) {
setSegmentID(other.getSegmentID());
}
if (!other.getIndexData().isEmpty()) {
indexData_ = other.indexData_;
bitField0_ |= 0x00000002;
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 8: {
segmentID_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
indexData_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
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 long segmentID_ ;
/**
* int64 segmentID = 1;
* @return The segmentID.
*/
@java.lang.Override
public long getSegmentID() {
return segmentID_;
}
/**
* int64 segmentID = 1;
* @param value The segmentID to set.
* @return This builder for chaining.
*/
public Builder setSegmentID(long value) {
segmentID_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* int64 segmentID = 1;
* @return This builder for chaining.
*/
public Builder clearSegmentID() {
bitField0_ = (bitField0_ & ~0x00000001);
segmentID_ = 0L;
onChanged();
return this;
}
private java.lang.Object indexData_ = "";
/**
*
* data from knownwhere
*
*
* string index_data = 2;
* @return The indexData.
*/
public java.lang.String getIndexData() {
java.lang.Object ref = indexData_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
indexData_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* data from knownwhere
*
*
* string index_data = 2;
* @return The bytes for indexData.
*/
public com.google.protobuf.ByteString
getIndexDataBytes() {
java.lang.Object ref = indexData_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
indexData_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* data from knownwhere
*
*
* string index_data = 2;
* @param value The indexData to set.
* @return This builder for chaining.
*/
public Builder setIndexData(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
indexData_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* data from knownwhere
*
*
* string index_data = 2;
* @return This builder for chaining.
*/
public Builder clearIndexData() {
indexData_ = getDefaultInstance().getIndexData();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
* data from knownwhere
*
*
* string index_data = 2;
* @param value The bytes for indexData to set.
* @return This builder for chaining.
*/
public Builder setIndexDataBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
indexData_ = value;
bitField0_ |= 0x00000002;
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.feder.SegmentIndexData)
}
// @@protoc_insertion_point(class_scope:milvus.proto.feder.SegmentIndexData)
private static final milvus.proto.feder.Feder.SegmentIndexData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new milvus.proto.feder.Feder.SegmentIndexData();
}
public static milvus.proto.feder.Feder.SegmentIndexData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public SegmentIndexData 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.feder.Feder.SegmentIndexData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FederSegmentSearchResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:milvus.proto.feder.FederSegmentSearchResult)
com.google.protobuf.MessageOrBuilder {
/**
* int64 segmentID = 1;
* @return The segmentID.
*/
long getSegmentID();
/**
* string visit_info = 2;
* @return The visitInfo.
*/
java.lang.String getVisitInfo();
/**
* string visit_info = 2;
* @return The bytes for visitInfo.
*/
com.google.protobuf.ByteString
getVisitInfoBytes();
}
/**
* Protobuf type {@code milvus.proto.feder.FederSegmentSearchResult}
*/
public static final class FederSegmentSearchResult extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:milvus.proto.feder.FederSegmentSearchResult)
FederSegmentSearchResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use FederSegmentSearchResult.newBuilder() to construct.
private FederSegmentSearchResult(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FederSegmentSearchResult() {
visitInfo_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FederSegmentSearchResult();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_FederSegmentSearchResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_FederSegmentSearchResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
milvus.proto.feder.Feder.FederSegmentSearchResult.class, milvus.proto.feder.Feder.FederSegmentSearchResult.Builder.class);
}
public static final int SEGMENTID_FIELD_NUMBER = 1;
private long segmentID_ = 0L;
/**
* int64 segmentID = 1;
* @return The segmentID.
*/
@java.lang.Override
public long getSegmentID() {
return segmentID_;
}
public static final int VISIT_INFO_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object visitInfo_ = "";
/**
* string visit_info = 2;
* @return The visitInfo.
*/
@java.lang.Override
public java.lang.String getVisitInfo() {
java.lang.Object ref = visitInfo_;
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();
visitInfo_ = s;
return s;
}
}
/**
* string visit_info = 2;
* @return The bytes for visitInfo.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getVisitInfoBytes() {
java.lang.Object ref = visitInfo_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
visitInfo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (segmentID_ != 0L) {
output.writeInt64(1, segmentID_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(visitInfo_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, visitInfo_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (segmentID_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, segmentID_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(visitInfo_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, visitInfo_);
}
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.feder.Feder.FederSegmentSearchResult)) {
return super.equals(obj);
}
milvus.proto.feder.Feder.FederSegmentSearchResult other = (milvus.proto.feder.Feder.FederSegmentSearchResult) obj;
if (getSegmentID()
!= other.getSegmentID()) return false;
if (!getVisitInfo()
.equals(other.getVisitInfo())) 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) + SEGMENTID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSegmentID());
hash = (37 * hash) + VISIT_INFO_FIELD_NUMBER;
hash = (53 * hash) + getVisitInfo().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static milvus.proto.feder.Feder.FederSegmentSearchResult parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static milvus.proto.feder.Feder.FederSegmentSearchResult parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static milvus.proto.feder.Feder.FederSegmentSearchResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static milvus.proto.feder.Feder.FederSegmentSearchResult 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.feder.Feder.FederSegmentSearchResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static milvus.proto.feder.Feder.FederSegmentSearchResult parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static milvus.proto.feder.Feder.FederSegmentSearchResult parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static milvus.proto.feder.Feder.FederSegmentSearchResult 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.feder.Feder.FederSegmentSearchResult parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static milvus.proto.feder.Feder.FederSegmentSearchResult 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.feder.Feder.FederSegmentSearchResult parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static milvus.proto.feder.Feder.FederSegmentSearchResult 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.feder.Feder.FederSegmentSearchResult 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.feder.FederSegmentSearchResult}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:milvus.proto.feder.FederSegmentSearchResult)
milvus.proto.feder.Feder.FederSegmentSearchResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_FederSegmentSearchResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_FederSegmentSearchResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
milvus.proto.feder.Feder.FederSegmentSearchResult.class, milvus.proto.feder.Feder.FederSegmentSearchResult.Builder.class);
}
// Construct using milvus.proto.feder.Feder.FederSegmentSearchResult.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
segmentID_ = 0L;
visitInfo_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_FederSegmentSearchResult_descriptor;
}
@java.lang.Override
public milvus.proto.feder.Feder.FederSegmentSearchResult getDefaultInstanceForType() {
return milvus.proto.feder.Feder.FederSegmentSearchResult.getDefaultInstance();
}
@java.lang.Override
public milvus.proto.feder.Feder.FederSegmentSearchResult build() {
milvus.proto.feder.Feder.FederSegmentSearchResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public milvus.proto.feder.Feder.FederSegmentSearchResult buildPartial() {
milvus.proto.feder.Feder.FederSegmentSearchResult result = new milvus.proto.feder.Feder.FederSegmentSearchResult(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(milvus.proto.feder.Feder.FederSegmentSearchResult result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.segmentID_ = segmentID_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.visitInfo_ = visitInfo_;
}
}
@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.feder.Feder.FederSegmentSearchResult) {
return mergeFrom((milvus.proto.feder.Feder.FederSegmentSearchResult)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(milvus.proto.feder.Feder.FederSegmentSearchResult other) {
if (other == milvus.proto.feder.Feder.FederSegmentSearchResult.getDefaultInstance()) return this;
if (other.getSegmentID() != 0L) {
setSegmentID(other.getSegmentID());
}
if (!other.getVisitInfo().isEmpty()) {
visitInfo_ = other.visitInfo_;
bitField0_ |= 0x00000002;
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 8: {
segmentID_ = input.readInt64();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
visitInfo_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
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 long segmentID_ ;
/**
* int64 segmentID = 1;
* @return The segmentID.
*/
@java.lang.Override
public long getSegmentID() {
return segmentID_;
}
/**
* int64 segmentID = 1;
* @param value The segmentID to set.
* @return This builder for chaining.
*/
public Builder setSegmentID(long value) {
segmentID_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* int64 segmentID = 1;
* @return This builder for chaining.
*/
public Builder clearSegmentID() {
bitField0_ = (bitField0_ & ~0x00000001);
segmentID_ = 0L;
onChanged();
return this;
}
private java.lang.Object visitInfo_ = "";
/**
* string visit_info = 2;
* @return The visitInfo.
*/
public java.lang.String getVisitInfo() {
java.lang.Object ref = visitInfo_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
visitInfo_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string visit_info = 2;
* @return The bytes for visitInfo.
*/
public com.google.protobuf.ByteString
getVisitInfoBytes() {
java.lang.Object ref = visitInfo_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
visitInfo_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string visit_info = 2;
* @param value The visitInfo to set.
* @return This builder for chaining.
*/
public Builder setVisitInfo(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
visitInfo_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string visit_info = 2;
* @return This builder for chaining.
*/
public Builder clearVisitInfo() {
visitInfo_ = getDefaultInstance().getVisitInfo();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string visit_info = 2;
* @param value The bytes for visitInfo to set.
* @return This builder for chaining.
*/
public Builder setVisitInfoBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
visitInfo_ = value;
bitField0_ |= 0x00000002;
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.feder.FederSegmentSearchResult)
}
// @@protoc_insertion_point(class_scope:milvus.proto.feder.FederSegmentSearchResult)
private static final milvus.proto.feder.Feder.FederSegmentSearchResult DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new milvus.proto.feder.Feder.FederSegmentSearchResult();
}
public static milvus.proto.feder.Feder.FederSegmentSearchResult getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FederSegmentSearchResult 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.feder.Feder.FederSegmentSearchResult getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ListIndexedSegmentRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:milvus.proto.feder.ListIndexedSegmentRequest)
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 collection_name = 2;
* @return The collectionName.
*/
java.lang.String getCollectionName();
/**
* string collection_name = 2;
* @return The bytes for collectionName.
*/
com.google.protobuf.ByteString
getCollectionNameBytes();
/**
* string index_name = 3;
* @return The indexName.
*/
java.lang.String getIndexName();
/**
* string index_name = 3;
* @return The bytes for indexName.
*/
com.google.protobuf.ByteString
getIndexNameBytes();
}
/**
* Protobuf type {@code milvus.proto.feder.ListIndexedSegmentRequest}
*/
public static final class ListIndexedSegmentRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:milvus.proto.feder.ListIndexedSegmentRequest)
ListIndexedSegmentRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ListIndexedSegmentRequest.newBuilder() to construct.
private ListIndexedSegmentRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ListIndexedSegmentRequest() {
collectionName_ = "";
indexName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ListIndexedSegmentRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_ListIndexedSegmentRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_ListIndexedSegmentRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
milvus.proto.feder.Feder.ListIndexedSegmentRequest.class, milvus.proto.feder.Feder.ListIndexedSegmentRequest.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 COLLECTION_NAME_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object collectionName_ = "";
/**
* string collection_name = 2;
* @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 = 2;
* @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 INDEX_NAME_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object indexName_ = "";
/**
* string index_name = 3;
* @return The indexName.
*/
@java.lang.Override
public java.lang.String getIndexName() {
java.lang.Object ref = indexName_;
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();
indexName_ = s;
return s;
}
}
/**
* string index_name = 3;
* @return The bytes for indexName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIndexNameBytes() {
java.lang.Object ref = indexName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
indexName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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(collectionName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, collectionName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, indexName_);
}
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(collectionName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, collectionName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, indexName_);
}
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.feder.Feder.ListIndexedSegmentRequest)) {
return super.equals(obj);
}
milvus.proto.feder.Feder.ListIndexedSegmentRequest other = (milvus.proto.feder.Feder.ListIndexedSegmentRequest) obj;
if (hasBase() != other.hasBase()) return false;
if (hasBase()) {
if (!getBase()
.equals(other.getBase())) return false;
}
if (!getCollectionName()
.equals(other.getCollectionName())) return false;
if (!getIndexName()
.equals(other.getIndexName())) 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) + COLLECTION_NAME_FIELD_NUMBER;
hash = (53 * hash) + getCollectionName().hashCode();
hash = (37 * hash) + INDEX_NAME_FIELD_NUMBER;
hash = (53 * hash) + getIndexName().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static milvus.proto.feder.Feder.ListIndexedSegmentRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static milvus.proto.feder.Feder.ListIndexedSegmentRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static milvus.proto.feder.Feder.ListIndexedSegmentRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static milvus.proto.feder.Feder.ListIndexedSegmentRequest 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.feder.Feder.ListIndexedSegmentRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static milvus.proto.feder.Feder.ListIndexedSegmentRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static milvus.proto.feder.Feder.ListIndexedSegmentRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static milvus.proto.feder.Feder.ListIndexedSegmentRequest 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.feder.Feder.ListIndexedSegmentRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static milvus.proto.feder.Feder.ListIndexedSegmentRequest 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.feder.Feder.ListIndexedSegmentRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static milvus.proto.feder.Feder.ListIndexedSegmentRequest 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.feder.Feder.ListIndexedSegmentRequest 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.feder.ListIndexedSegmentRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:milvus.proto.feder.ListIndexedSegmentRequest)
milvus.proto.feder.Feder.ListIndexedSegmentRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_ListIndexedSegmentRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_ListIndexedSegmentRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
milvus.proto.feder.Feder.ListIndexedSegmentRequest.class, milvus.proto.feder.Feder.ListIndexedSegmentRequest.Builder.class);
}
// Construct using milvus.proto.feder.Feder.ListIndexedSegmentRequest.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;
}
collectionName_ = "";
indexName_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_ListIndexedSegmentRequest_descriptor;
}
@java.lang.Override
public milvus.proto.feder.Feder.ListIndexedSegmentRequest getDefaultInstanceForType() {
return milvus.proto.feder.Feder.ListIndexedSegmentRequest.getDefaultInstance();
}
@java.lang.Override
public milvus.proto.feder.Feder.ListIndexedSegmentRequest build() {
milvus.proto.feder.Feder.ListIndexedSegmentRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public milvus.proto.feder.Feder.ListIndexedSegmentRequest buildPartial() {
milvus.proto.feder.Feder.ListIndexedSegmentRequest result = new milvus.proto.feder.Feder.ListIndexedSegmentRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(milvus.proto.feder.Feder.ListIndexedSegmentRequest 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.collectionName_ = collectionName_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.indexName_ = indexName_;
}
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.feder.Feder.ListIndexedSegmentRequest) {
return mergeFrom((milvus.proto.feder.Feder.ListIndexedSegmentRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(milvus.proto.feder.Feder.ListIndexedSegmentRequest other) {
if (other == milvus.proto.feder.Feder.ListIndexedSegmentRequest.getDefaultInstance()) return this;
if (other.hasBase()) {
mergeBase(other.getBase());
}
if (!other.getCollectionName().isEmpty()) {
collectionName_ = other.collectionName_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getIndexName().isEmpty()) {
indexName_ = other.indexName_;
bitField0_ |= 0x00000004;
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: {
collectionName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
indexName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
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 collectionName_ = "";
/**
* string collection_name = 2;
* @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 = 2;
* @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 = 2;
* @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_ |= 0x00000002;
onChanged();
return this;
}
/**
* string collection_name = 2;
* @return This builder for chaining.
*/
public Builder clearCollectionName() {
collectionName_ = getDefaultInstance().getCollectionName();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string collection_name = 2;
* @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_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object indexName_ = "";
/**
* string index_name = 3;
* @return The indexName.
*/
public java.lang.String getIndexName() {
java.lang.Object ref = indexName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
indexName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string index_name = 3;
* @return The bytes for indexName.
*/
public com.google.protobuf.ByteString
getIndexNameBytes() {
java.lang.Object ref = indexName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
indexName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string index_name = 3;
* @param value The indexName to set.
* @return This builder for chaining.
*/
public Builder setIndexName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
indexName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* string index_name = 3;
* @return This builder for chaining.
*/
public Builder clearIndexName() {
indexName_ = getDefaultInstance().getIndexName();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* string index_name = 3;
* @param value The bytes for indexName to set.
* @return This builder for chaining.
*/
public Builder setIndexNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
indexName_ = value;
bitField0_ |= 0x00000004;
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.feder.ListIndexedSegmentRequest)
}
// @@protoc_insertion_point(class_scope:milvus.proto.feder.ListIndexedSegmentRequest)
private static final milvus.proto.feder.Feder.ListIndexedSegmentRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new milvus.proto.feder.Feder.ListIndexedSegmentRequest();
}
public static milvus.proto.feder.Feder.ListIndexedSegmentRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ListIndexedSegmentRequest 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.feder.Feder.ListIndexedSegmentRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ListIndexedSegmentResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:milvus.proto.feder.ListIndexedSegmentResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .milvus.proto.common.Status status = 1;
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* .milvus.proto.common.Status status = 1;
* @return The status.
*/
io.milvus.grpc.Status getStatus();
/**
* .milvus.proto.common.Status status = 1;
*/
io.milvus.grpc.StatusOrBuilder getStatusOrBuilder();
/**
* repeated int64 segmentIDs = 2;
* @return A list containing the segmentIDs.
*/
java.util.List getSegmentIDsList();
/**
* repeated int64 segmentIDs = 2;
* @return The count of segmentIDs.
*/
int getSegmentIDsCount();
/**
* repeated int64 segmentIDs = 2;
* @param index The index of the element to return.
* @return The segmentIDs at the given index.
*/
long getSegmentIDs(int index);
}
/**
* Protobuf type {@code milvus.proto.feder.ListIndexedSegmentResponse}
*/
public static final class ListIndexedSegmentResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:milvus.proto.feder.ListIndexedSegmentResponse)
ListIndexedSegmentResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ListIndexedSegmentResponse.newBuilder() to construct.
private ListIndexedSegmentResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ListIndexedSegmentResponse() {
segmentIDs_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ListIndexedSegmentResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_ListIndexedSegmentResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_ListIndexedSegmentResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
milvus.proto.feder.Feder.ListIndexedSegmentResponse.class, milvus.proto.feder.Feder.ListIndexedSegmentResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private io.milvus.grpc.Status status_;
/**
* .milvus.proto.common.Status status = 1;
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .milvus.proto.common.Status status = 1;
* @return The status.
*/
@java.lang.Override
public io.milvus.grpc.Status getStatus() {
return status_ == null ? io.milvus.grpc.Status.getDefaultInstance() : status_;
}
/**
* .milvus.proto.common.Status status = 1;
*/
@java.lang.Override
public io.milvus.grpc.StatusOrBuilder getStatusOrBuilder() {
return status_ == null ? io.milvus.grpc.Status.getDefaultInstance() : status_;
}
public static final int SEGMENTIDS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList segmentIDs_ =
emptyLongList();
/**
* repeated int64 segmentIDs = 2;
* @return A list containing the segmentIDs.
*/
@java.lang.Override
public java.util.List
getSegmentIDsList() {
return segmentIDs_;
}
/**
* repeated int64 segmentIDs = 2;
* @return The count of segmentIDs.
*/
public int getSegmentIDsCount() {
return segmentIDs_.size();
}
/**
* repeated int64 segmentIDs = 2;
* @param index The index of the element to return.
* @return The segmentIDs at the given index.
*/
public long getSegmentIDs(int index) {
return segmentIDs_.getLong(index);
}
private int segmentIDsMemoizedSerializedSize = -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, getStatus());
}
if (getSegmentIDsList().size() > 0) {
output.writeUInt32NoTag(18);
output.writeUInt32NoTag(segmentIDsMemoizedSerializedSize);
}
for (int i = 0; i < segmentIDs_.size(); i++) {
output.writeInt64NoTag(segmentIDs_.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, getStatus());
}
{
int dataSize = 0;
for (int i = 0; i < segmentIDs_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(segmentIDs_.getLong(i));
}
size += dataSize;
if (!getSegmentIDsList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
segmentIDsMemoizedSerializedSize = 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.feder.Feder.ListIndexedSegmentResponse)) {
return super.equals(obj);
}
milvus.proto.feder.Feder.ListIndexedSegmentResponse other = (milvus.proto.feder.Feder.ListIndexedSegmentResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getSegmentIDsList()
.equals(other.getSegmentIDsList())) 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 (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (getSegmentIDsCount() > 0) {
hash = (37 * hash) + SEGMENTIDS_FIELD_NUMBER;
hash = (53 * hash) + getSegmentIDsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static milvus.proto.feder.Feder.ListIndexedSegmentResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static milvus.proto.feder.Feder.ListIndexedSegmentResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static milvus.proto.feder.Feder.ListIndexedSegmentResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static milvus.proto.feder.Feder.ListIndexedSegmentResponse 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.feder.Feder.ListIndexedSegmentResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static milvus.proto.feder.Feder.ListIndexedSegmentResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static milvus.proto.feder.Feder.ListIndexedSegmentResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static milvus.proto.feder.Feder.ListIndexedSegmentResponse 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.feder.Feder.ListIndexedSegmentResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static milvus.proto.feder.Feder.ListIndexedSegmentResponse 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.feder.Feder.ListIndexedSegmentResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static milvus.proto.feder.Feder.ListIndexedSegmentResponse 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.feder.Feder.ListIndexedSegmentResponse 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.feder.ListIndexedSegmentResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:milvus.proto.feder.ListIndexedSegmentResponse)
milvus.proto.feder.Feder.ListIndexedSegmentResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_ListIndexedSegmentResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_ListIndexedSegmentResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
milvus.proto.feder.Feder.ListIndexedSegmentResponse.class, milvus.proto.feder.Feder.ListIndexedSegmentResponse.Builder.class);
}
// Construct using milvus.proto.feder.Feder.ListIndexedSegmentResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
segmentIDs_ = emptyLongList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_ListIndexedSegmentResponse_descriptor;
}
@java.lang.Override
public milvus.proto.feder.Feder.ListIndexedSegmentResponse getDefaultInstanceForType() {
return milvus.proto.feder.Feder.ListIndexedSegmentResponse.getDefaultInstance();
}
@java.lang.Override
public milvus.proto.feder.Feder.ListIndexedSegmentResponse build() {
milvus.proto.feder.Feder.ListIndexedSegmentResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public milvus.proto.feder.Feder.ListIndexedSegmentResponse buildPartial() {
milvus.proto.feder.Feder.ListIndexedSegmentResponse result = new milvus.proto.feder.Feder.ListIndexedSegmentResponse(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(milvus.proto.feder.Feder.ListIndexedSegmentResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
segmentIDs_.makeImmutable();
result.segmentIDs_ = segmentIDs_;
}
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.feder.Feder.ListIndexedSegmentResponse) {
return mergeFrom((milvus.proto.feder.Feder.ListIndexedSegmentResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(milvus.proto.feder.Feder.ListIndexedSegmentResponse other) {
if (other == milvus.proto.feder.Feder.ListIndexedSegmentResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (!other.segmentIDs_.isEmpty()) {
if (segmentIDs_.isEmpty()) {
segmentIDs_ = other.segmentIDs_;
segmentIDs_.makeImmutable();
bitField0_ |= 0x00000002;
} else {
ensureSegmentIDsIsMutable();
segmentIDs_.addAll(other.segmentIDs_);
}
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(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
long v = input.readInt64();
ensureSegmentIDsIsMutable();
segmentIDs_.addLong(v);
break;
} // case 16
case 18: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureSegmentIDsIsMutable();
while (input.getBytesUntilLimit() > 0) {
segmentIDs_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 18
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.Status status_;
private com.google.protobuf.SingleFieldBuilderV3<
io.milvus.grpc.Status, io.milvus.grpc.Status.Builder, io.milvus.grpc.StatusOrBuilder> statusBuilder_;
/**
* .milvus.proto.common.Status status = 1;
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .milvus.proto.common.Status status = 1;
* @return The status.
*/
public io.milvus.grpc.Status getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? io.milvus.grpc.Status.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* .milvus.proto.common.Status status = 1;
*/
public Builder setStatus(io.milvus.grpc.Status value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .milvus.proto.common.Status status = 1;
*/
public Builder setStatus(
io.milvus.grpc.Status.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .milvus.proto.common.Status status = 1;
*/
public Builder mergeStatus(io.milvus.grpc.Status value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != io.milvus.grpc.Status.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .milvus.proto.common.Status status = 1;
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* .milvus.proto.common.Status status = 1;
*/
public io.milvus.grpc.Status.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* .milvus.proto.common.Status status = 1;
*/
public io.milvus.grpc.StatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
io.milvus.grpc.Status.getDefaultInstance() : status_;
}
}
/**
* .milvus.proto.common.Status status = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.milvus.grpc.Status, io.milvus.grpc.Status.Builder, io.milvus.grpc.StatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.milvus.grpc.Status, io.milvus.grpc.Status.Builder, io.milvus.grpc.StatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private com.google.protobuf.Internal.LongList segmentIDs_ = emptyLongList();
private void ensureSegmentIDsIsMutable() {
if (!segmentIDs_.isModifiable()) {
segmentIDs_ = makeMutableCopy(segmentIDs_);
}
bitField0_ |= 0x00000002;
}
/**
* repeated int64 segmentIDs = 2;
* @return A list containing the segmentIDs.
*/
public java.util.List
getSegmentIDsList() {
segmentIDs_.makeImmutable();
return segmentIDs_;
}
/**
* repeated int64 segmentIDs = 2;
* @return The count of segmentIDs.
*/
public int getSegmentIDsCount() {
return segmentIDs_.size();
}
/**
* repeated int64 segmentIDs = 2;
* @param index The index of the element to return.
* @return The segmentIDs at the given index.
*/
public long getSegmentIDs(int index) {
return segmentIDs_.getLong(index);
}
/**
* repeated int64 segmentIDs = 2;
* @param index The index to set the value at.
* @param value The segmentIDs to set.
* @return This builder for chaining.
*/
public Builder setSegmentIDs(
int index, long value) {
ensureSegmentIDsIsMutable();
segmentIDs_.setLong(index, value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* repeated int64 segmentIDs = 2;
* @param value The segmentIDs to add.
* @return This builder for chaining.
*/
public Builder addSegmentIDs(long value) {
ensureSegmentIDsIsMutable();
segmentIDs_.addLong(value);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* repeated int64 segmentIDs = 2;
* @param values The segmentIDs to add.
* @return This builder for chaining.
*/
public Builder addAllSegmentIDs(
java.lang.Iterable extends java.lang.Long> values) {
ensureSegmentIDsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, segmentIDs_);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* repeated int64 segmentIDs = 2;
* @return This builder for chaining.
*/
public Builder clearSegmentIDs() {
segmentIDs_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000002);
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.feder.ListIndexedSegmentResponse)
}
// @@protoc_insertion_point(class_scope:milvus.proto.feder.ListIndexedSegmentResponse)
private static final milvus.proto.feder.Feder.ListIndexedSegmentResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new milvus.proto.feder.Feder.ListIndexedSegmentResponse();
}
public static milvus.proto.feder.Feder.ListIndexedSegmentResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ListIndexedSegmentResponse 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.feder.Feder.ListIndexedSegmentResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DescribeSegmentIndexDataRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:milvus.proto.feder.DescribeSegmentIndexDataRequest)
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 collection_name = 2;
* @return The collectionName.
*/
java.lang.String getCollectionName();
/**
* string collection_name = 2;
* @return The bytes for collectionName.
*/
com.google.protobuf.ByteString
getCollectionNameBytes();
/**
* string index_name = 3;
* @return The indexName.
*/
java.lang.String getIndexName();
/**
* string index_name = 3;
* @return The bytes for indexName.
*/
com.google.protobuf.ByteString
getIndexNameBytes();
/**
* repeated int64 segmentsIDs = 4;
* @return A list containing the segmentsIDs.
*/
java.util.List getSegmentsIDsList();
/**
* repeated int64 segmentsIDs = 4;
* @return The count of segmentsIDs.
*/
int getSegmentsIDsCount();
/**
* repeated int64 segmentsIDs = 4;
* @param index The index of the element to return.
* @return The segmentsIDs at the given index.
*/
long getSegmentsIDs(int index);
}
/**
* Protobuf type {@code milvus.proto.feder.DescribeSegmentIndexDataRequest}
*/
public static final class DescribeSegmentIndexDataRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:milvus.proto.feder.DescribeSegmentIndexDataRequest)
DescribeSegmentIndexDataRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use DescribeSegmentIndexDataRequest.newBuilder() to construct.
private DescribeSegmentIndexDataRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DescribeSegmentIndexDataRequest() {
collectionName_ = "";
indexName_ = "";
segmentsIDs_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DescribeSegmentIndexDataRequest();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_DescribeSegmentIndexDataRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_DescribeSegmentIndexDataRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest.class, milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest.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 COLLECTION_NAME_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object collectionName_ = "";
/**
* string collection_name = 2;
* @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 = 2;
* @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 INDEX_NAME_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object indexName_ = "";
/**
* string index_name = 3;
* @return The indexName.
*/
@java.lang.Override
public java.lang.String getIndexName() {
java.lang.Object ref = indexName_;
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();
indexName_ = s;
return s;
}
}
/**
* string index_name = 3;
* @return The bytes for indexName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getIndexNameBytes() {
java.lang.Object ref = indexName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
indexName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SEGMENTSIDS_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList segmentsIDs_ =
emptyLongList();
/**
* repeated int64 segmentsIDs = 4;
* @return A list containing the segmentsIDs.
*/
@java.lang.Override
public java.util.List
getSegmentsIDsList() {
return segmentsIDs_;
}
/**
* repeated int64 segmentsIDs = 4;
* @return The count of segmentsIDs.
*/
public int getSegmentsIDsCount() {
return segmentsIDs_.size();
}
/**
* repeated int64 segmentsIDs = 4;
* @param index The index of the element to return.
* @return The segmentsIDs at the given index.
*/
public long getSegmentsIDs(int index) {
return segmentsIDs_.getLong(index);
}
private int segmentsIDsMemoizedSerializedSize = -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(collectionName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, collectionName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, indexName_);
}
if (getSegmentsIDsList().size() > 0) {
output.writeUInt32NoTag(34);
output.writeUInt32NoTag(segmentsIDsMemoizedSerializedSize);
}
for (int i = 0; i < segmentsIDs_.size(); i++) {
output.writeInt64NoTag(segmentsIDs_.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(collectionName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, collectionName_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, indexName_);
}
{
int dataSize = 0;
for (int i = 0; i < segmentsIDs_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(segmentsIDs_.getLong(i));
}
size += dataSize;
if (!getSegmentsIDsList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
segmentsIDsMemoizedSerializedSize = 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.feder.Feder.DescribeSegmentIndexDataRequest)) {
return super.equals(obj);
}
milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest other = (milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest) obj;
if (hasBase() != other.hasBase()) return false;
if (hasBase()) {
if (!getBase()
.equals(other.getBase())) return false;
}
if (!getCollectionName()
.equals(other.getCollectionName())) return false;
if (!getIndexName()
.equals(other.getIndexName())) return false;
if (!getSegmentsIDsList()
.equals(other.getSegmentsIDsList())) 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) + COLLECTION_NAME_FIELD_NUMBER;
hash = (53 * hash) + getCollectionName().hashCode();
hash = (37 * hash) + INDEX_NAME_FIELD_NUMBER;
hash = (53 * hash) + getIndexName().hashCode();
if (getSegmentsIDsCount() > 0) {
hash = (37 * hash) + SEGMENTSIDS_FIELD_NUMBER;
hash = (53 * hash) + getSegmentsIDsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest 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.feder.Feder.DescribeSegmentIndexDataRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest 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.feder.Feder.DescribeSegmentIndexDataRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest 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.feder.Feder.DescribeSegmentIndexDataRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest 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.feder.Feder.DescribeSegmentIndexDataRequest 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.feder.DescribeSegmentIndexDataRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:milvus.proto.feder.DescribeSegmentIndexDataRequest)
milvus.proto.feder.Feder.DescribeSegmentIndexDataRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_DescribeSegmentIndexDataRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_DescribeSegmentIndexDataRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest.class, milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest.Builder.class);
}
// Construct using milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest.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;
}
collectionName_ = "";
indexName_ = "";
segmentsIDs_ = emptyLongList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_DescribeSegmentIndexDataRequest_descriptor;
}
@java.lang.Override
public milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest getDefaultInstanceForType() {
return milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest.getDefaultInstance();
}
@java.lang.Override
public milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest build() {
milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest buildPartial() {
milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest result = new milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest 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.collectionName_ = collectionName_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.indexName_ = indexName_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
segmentsIDs_.makeImmutable();
result.segmentsIDs_ = segmentsIDs_;
}
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.feder.Feder.DescribeSegmentIndexDataRequest) {
return mergeFrom((milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest other) {
if (other == milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest.getDefaultInstance()) return this;
if (other.hasBase()) {
mergeBase(other.getBase());
}
if (!other.getCollectionName().isEmpty()) {
collectionName_ = other.collectionName_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getIndexName().isEmpty()) {
indexName_ = other.indexName_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.segmentsIDs_.isEmpty()) {
if (segmentsIDs_.isEmpty()) {
segmentsIDs_ = other.segmentsIDs_;
segmentsIDs_.makeImmutable();
bitField0_ |= 0x00000008;
} else {
ensureSegmentsIDsIsMutable();
segmentsIDs_.addAll(other.segmentsIDs_);
}
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: {
collectionName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
indexName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 32: {
long v = input.readInt64();
ensureSegmentsIDsIsMutable();
segmentsIDs_.addLong(v);
break;
} // case 32
case 34: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureSegmentsIDsIsMutable();
while (input.getBytesUntilLimit() > 0) {
segmentsIDs_.addLong(input.readInt64());
}
input.popLimit(limit);
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 collectionName_ = "";
/**
* string collection_name = 2;
* @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 = 2;
* @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 = 2;
* @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_ |= 0x00000002;
onChanged();
return this;
}
/**
* string collection_name = 2;
* @return This builder for chaining.
*/
public Builder clearCollectionName() {
collectionName_ = getDefaultInstance().getCollectionName();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string collection_name = 2;
* @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_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object indexName_ = "";
/**
* string index_name = 3;
* @return The indexName.
*/
public java.lang.String getIndexName() {
java.lang.Object ref = indexName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
indexName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string index_name = 3;
* @return The bytes for indexName.
*/
public com.google.protobuf.ByteString
getIndexNameBytes() {
java.lang.Object ref = indexName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
indexName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string index_name = 3;
* @param value The indexName to set.
* @return This builder for chaining.
*/
public Builder setIndexName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
indexName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* string index_name = 3;
* @return This builder for chaining.
*/
public Builder clearIndexName() {
indexName_ = getDefaultInstance().getIndexName();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* string index_name = 3;
* @param value The bytes for indexName to set.
* @return This builder for chaining.
*/
public Builder setIndexNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
indexName_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList segmentsIDs_ = emptyLongList();
private void ensureSegmentsIDsIsMutable() {
if (!segmentsIDs_.isModifiable()) {
segmentsIDs_ = makeMutableCopy(segmentsIDs_);
}
bitField0_ |= 0x00000008;
}
/**
* repeated int64 segmentsIDs = 4;
* @return A list containing the segmentsIDs.
*/
public java.util.List
getSegmentsIDsList() {
segmentsIDs_.makeImmutable();
return segmentsIDs_;
}
/**
* repeated int64 segmentsIDs = 4;
* @return The count of segmentsIDs.
*/
public int getSegmentsIDsCount() {
return segmentsIDs_.size();
}
/**
* repeated int64 segmentsIDs = 4;
* @param index The index of the element to return.
* @return The segmentsIDs at the given index.
*/
public long getSegmentsIDs(int index) {
return segmentsIDs_.getLong(index);
}
/**
* repeated int64 segmentsIDs = 4;
* @param index The index to set the value at.
* @param value The segmentsIDs to set.
* @return This builder for chaining.
*/
public Builder setSegmentsIDs(
int index, long value) {
ensureSegmentsIDsIsMutable();
segmentsIDs_.setLong(index, value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* repeated int64 segmentsIDs = 4;
* @param value The segmentsIDs to add.
* @return This builder for chaining.
*/
public Builder addSegmentsIDs(long value) {
ensureSegmentsIDsIsMutable();
segmentsIDs_.addLong(value);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* repeated int64 segmentsIDs = 4;
* @param values The segmentsIDs to add.
* @return This builder for chaining.
*/
public Builder addAllSegmentsIDs(
java.lang.Iterable extends java.lang.Long> values) {
ensureSegmentsIDsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, segmentsIDs_);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* repeated int64 segmentsIDs = 4;
* @return This builder for chaining.
*/
public Builder clearSegmentsIDs() {
segmentsIDs_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000008);
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.feder.DescribeSegmentIndexDataRequest)
}
// @@protoc_insertion_point(class_scope:milvus.proto.feder.DescribeSegmentIndexDataRequest)
private static final milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest();
}
public static milvus.proto.feder.Feder.DescribeSegmentIndexDataRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DescribeSegmentIndexDataRequest 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.feder.Feder.DescribeSegmentIndexDataRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DescribeSegmentIndexDataResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:milvus.proto.feder.DescribeSegmentIndexDataResponse)
com.google.protobuf.MessageOrBuilder {
/**
* .milvus.proto.common.Status status = 1;
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* .milvus.proto.common.Status status = 1;
* @return The status.
*/
io.milvus.grpc.Status getStatus();
/**
* .milvus.proto.common.Status status = 1;
*/
io.milvus.grpc.StatusOrBuilder getStatusOrBuilder();
/**
*
* segmentID => segmentIndexData
*
*
* map<int64, .milvus.proto.feder.SegmentIndexData> index_data = 2;
*/
int getIndexDataCount();
/**
*
* segmentID => segmentIndexData
*
*
* map<int64, .milvus.proto.feder.SegmentIndexData> index_data = 2;
*/
boolean containsIndexData(
long key);
/**
* Use {@link #getIndexDataMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getIndexData();
/**
*
* segmentID => segmentIndexData
*
*
* map<int64, .milvus.proto.feder.SegmentIndexData> index_data = 2;
*/
java.util.Map
getIndexDataMap();
/**
*
* segmentID => segmentIndexData
*
*
* map<int64, .milvus.proto.feder.SegmentIndexData> index_data = 2;
*/
/* nullable */
milvus.proto.feder.Feder.SegmentIndexData getIndexDataOrDefault(
long key,
/* nullable */
milvus.proto.feder.Feder.SegmentIndexData defaultValue);
/**
*
* segmentID => segmentIndexData
*
*
* map<int64, .milvus.proto.feder.SegmentIndexData> index_data = 2;
*/
milvus.proto.feder.Feder.SegmentIndexData getIndexDataOrThrow(
long key);
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 3;
*/
java.util.List
getIndexParamsList();
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 3;
*/
io.milvus.grpc.KeyValuePair getIndexParams(int index);
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 3;
*/
int getIndexParamsCount();
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 3;
*/
java.util.List extends io.milvus.grpc.KeyValuePairOrBuilder>
getIndexParamsOrBuilderList();
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 3;
*/
io.milvus.grpc.KeyValuePairOrBuilder getIndexParamsOrBuilder(
int index);
}
/**
* Protobuf type {@code milvus.proto.feder.DescribeSegmentIndexDataResponse}
*/
public static final class DescribeSegmentIndexDataResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:milvus.proto.feder.DescribeSegmentIndexDataResponse)
DescribeSegmentIndexDataResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use DescribeSegmentIndexDataResponse.newBuilder() to construct.
private DescribeSegmentIndexDataResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DescribeSegmentIndexDataResponse() {
indexParams_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DescribeSegmentIndexDataResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_DescribeSegmentIndexDataResponse_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 2:
return internalGetIndexData();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_DescribeSegmentIndexDataResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse.class, milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse.Builder.class);
}
private int bitField0_;
public static final int STATUS_FIELD_NUMBER = 1;
private io.milvus.grpc.Status status_;
/**
* .milvus.proto.common.Status status = 1;
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .milvus.proto.common.Status status = 1;
* @return The status.
*/
@java.lang.Override
public io.milvus.grpc.Status getStatus() {
return status_ == null ? io.milvus.grpc.Status.getDefaultInstance() : status_;
}
/**
* .milvus.proto.common.Status status = 1;
*/
@java.lang.Override
public io.milvus.grpc.StatusOrBuilder getStatusOrBuilder() {
return status_ == null ? io.milvus.grpc.Status.getDefaultInstance() : status_;
}
public static final int INDEX_DATA_FIELD_NUMBER = 2;
private static final class IndexDataDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.Long, milvus.proto.feder.Feder.SegmentIndexData> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
milvus.proto.feder.Feder.internal_static_milvus_proto_feder_DescribeSegmentIndexDataResponse_IndexDataEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.INT64,
0L,
com.google.protobuf.WireFormat.FieldType.MESSAGE,
milvus.proto.feder.Feder.SegmentIndexData.getDefaultInstance());
}
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.Long, milvus.proto.feder.Feder.SegmentIndexData> indexData_;
private com.google.protobuf.MapField
internalGetIndexData() {
if (indexData_ == null) {
return com.google.protobuf.MapField.emptyMapField(
IndexDataDefaultEntryHolder.defaultEntry);
}
return indexData_;
}
public int getIndexDataCount() {
return internalGetIndexData().getMap().size();
}
/**
*
* segmentID => segmentIndexData
*
*
* map<int64, .milvus.proto.feder.SegmentIndexData> index_data = 2;
*/
@java.lang.Override
public boolean containsIndexData(
long key) {
return internalGetIndexData().getMap().containsKey(key);
}
/**
* Use {@link #getIndexDataMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getIndexData() {
return getIndexDataMap();
}
/**
*
* segmentID => segmentIndexData
*
*
* map<int64, .milvus.proto.feder.SegmentIndexData> index_data = 2;
*/
@java.lang.Override
public java.util.Map getIndexDataMap() {
return internalGetIndexData().getMap();
}
/**
*
* segmentID => segmentIndexData
*
*
* map<int64, .milvus.proto.feder.SegmentIndexData> index_data = 2;
*/
@java.lang.Override
public /* nullable */
milvus.proto.feder.Feder.SegmentIndexData getIndexDataOrDefault(
long key,
/* nullable */
milvus.proto.feder.Feder.SegmentIndexData defaultValue) {
java.util.Map map =
internalGetIndexData().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
*
* segmentID => segmentIndexData
*
*
* map<int64, .milvus.proto.feder.SegmentIndexData> index_data = 2;
*/
@java.lang.Override
public milvus.proto.feder.Feder.SegmentIndexData getIndexDataOrThrow(
long key) {
java.util.Map map =
internalGetIndexData().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int INDEX_PARAMS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private java.util.List indexParams_;
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 3;
*/
@java.lang.Override
public java.util.List getIndexParamsList() {
return indexParams_;
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 3;
*/
@java.lang.Override
public java.util.List extends io.milvus.grpc.KeyValuePairOrBuilder>
getIndexParamsOrBuilderList() {
return indexParams_;
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 3;
*/
@java.lang.Override
public int getIndexParamsCount() {
return indexParams_.size();
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 3;
*/
@java.lang.Override
public io.milvus.grpc.KeyValuePair getIndexParams(int index) {
return indexParams_.get(index);
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 3;
*/
@java.lang.Override
public io.milvus.grpc.KeyValuePairOrBuilder getIndexParamsOrBuilder(
int index) {
return indexParams_.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, getStatus());
}
com.google.protobuf.GeneratedMessageV3
.serializeLongMapTo(
output,
internalGetIndexData(),
IndexDataDefaultEntryHolder.defaultEntry,
2);
for (int i = 0; i < indexParams_.size(); i++) {
output.writeMessage(3, indexParams_.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, getStatus());
}
for (java.util.Map.Entry entry
: internalGetIndexData().getMap().entrySet()) {
com.google.protobuf.MapEntry
indexData__ = IndexDataDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, indexData__);
}
for (int i = 0; i < indexParams_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, indexParams_.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.feder.Feder.DescribeSegmentIndexDataResponse)) {
return super.equals(obj);
}
milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse other = (milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!internalGetIndexData().equals(
other.internalGetIndexData())) return false;
if (!getIndexParamsList()
.equals(other.getIndexParamsList())) 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 (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (!internalGetIndexData().getMap().isEmpty()) {
hash = (37 * hash) + INDEX_DATA_FIELD_NUMBER;
hash = (53 * hash) + internalGetIndexData().hashCode();
}
if (getIndexParamsCount() > 0) {
hash = (37 * hash) + INDEX_PARAMS_FIELD_NUMBER;
hash = (53 * hash) + getIndexParamsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse 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.feder.Feder.DescribeSegmentIndexDataResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse 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.feder.Feder.DescribeSegmentIndexDataResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse 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.feder.Feder.DescribeSegmentIndexDataResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse 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.feder.Feder.DescribeSegmentIndexDataResponse 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.feder.DescribeSegmentIndexDataResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:milvus.proto.feder.DescribeSegmentIndexDataResponse)
milvus.proto.feder.Feder.DescribeSegmentIndexDataResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_DescribeSegmentIndexDataResponse_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 2:
return internalGetIndexData();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 2:
return internalGetMutableIndexData();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_DescribeSegmentIndexDataResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse.class, milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse.Builder.class);
}
// Construct using milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStatusFieldBuilder();
getIndexParamsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
internalGetMutableIndexData().clear();
if (indexParamsBuilder_ == null) {
indexParams_ = java.util.Collections.emptyList();
} else {
indexParams_ = null;
indexParamsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return milvus.proto.feder.Feder.internal_static_milvus_proto_feder_DescribeSegmentIndexDataResponse_descriptor;
}
@java.lang.Override
public milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse getDefaultInstanceForType() {
return milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse.getDefaultInstance();
}
@java.lang.Override
public milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse build() {
milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse buildPartial() {
milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse result = new milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse result) {
if (indexParamsBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
indexParams_ = java.util.Collections.unmodifiableList(indexParams_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.indexParams_ = indexParams_;
} else {
result.indexParams_ = indexParamsBuilder_.build();
}
}
private void buildPartial0(milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.status_ = statusBuilder_ == null
? status_
: statusBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.indexData_ = internalGetIndexData();
result.indexData_.makeImmutable();
}
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.feder.Feder.DescribeSegmentIndexDataResponse) {
return mergeFrom((milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse other) {
if (other == milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
internalGetMutableIndexData().mergeFrom(
other.internalGetIndexData());
bitField0_ |= 0x00000002;
if (indexParamsBuilder_ == null) {
if (!other.indexParams_.isEmpty()) {
if (indexParams_.isEmpty()) {
indexParams_ = other.indexParams_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureIndexParamsIsMutable();
indexParams_.addAll(other.indexParams_);
}
onChanged();
}
} else {
if (!other.indexParams_.isEmpty()) {
if (indexParamsBuilder_.isEmpty()) {
indexParamsBuilder_.dispose();
indexParamsBuilder_ = null;
indexParams_ = other.indexParams_;
bitField0_ = (bitField0_ & ~0x00000004);
indexParamsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getIndexParamsFieldBuilder() : null;
} else {
indexParamsBuilder_.addAllMessages(other.indexParams_);
}
}
}
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(
getStatusFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
com.google.protobuf.MapEntry
indexData__ = input.readMessage(
IndexDataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableIndexData().getMutableMap().put(
indexData__.getKey(), indexData__.getValue());
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
io.milvus.grpc.KeyValuePair m =
input.readMessage(
io.milvus.grpc.KeyValuePair.parser(),
extensionRegistry);
if (indexParamsBuilder_ == null) {
ensureIndexParamsIsMutable();
indexParams_.add(m);
} else {
indexParamsBuilder_.addMessage(m);
}
break;
} // case 26
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.Status status_;
private com.google.protobuf.SingleFieldBuilderV3<
io.milvus.grpc.Status, io.milvus.grpc.Status.Builder, io.milvus.grpc.StatusOrBuilder> statusBuilder_;
/**
* .milvus.proto.common.Status status = 1;
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .milvus.proto.common.Status status = 1;
* @return The status.
*/
public io.milvus.grpc.Status getStatus() {
if (statusBuilder_ == null) {
return status_ == null ? io.milvus.grpc.Status.getDefaultInstance() : status_;
} else {
return statusBuilder_.getMessage();
}
}
/**
* .milvus.proto.common.Status status = 1;
*/
public Builder setStatus(io.milvus.grpc.Status value) {
if (statusBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
status_ = value;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .milvus.proto.common.Status status = 1;
*/
public Builder setStatus(
io.milvus.grpc.Status.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .milvus.proto.common.Status status = 1;
*/
public Builder mergeStatus(io.milvus.grpc.Status value) {
if (statusBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
status_ != null &&
status_ != io.milvus.grpc.Status.getDefaultInstance()) {
getStatusBuilder().mergeFrom(value);
} else {
status_ = value;
}
} else {
statusBuilder_.mergeFrom(value);
}
if (status_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .milvus.proto.common.Status status = 1;
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
* .milvus.proto.common.Status status = 1;
*/
public io.milvus.grpc.Status.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
* .milvus.proto.common.Status status = 1;
*/
public io.milvus.grpc.StatusOrBuilder getStatusOrBuilder() {
if (statusBuilder_ != null) {
return statusBuilder_.getMessageOrBuilder();
} else {
return status_ == null ?
io.milvus.grpc.Status.getDefaultInstance() : status_;
}
}
/**
* .milvus.proto.common.Status status = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.milvus.grpc.Status, io.milvus.grpc.Status.Builder, io.milvus.grpc.StatusOrBuilder>
getStatusFieldBuilder() {
if (statusBuilder_ == null) {
statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.milvus.grpc.Status, io.milvus.grpc.Status.Builder, io.milvus.grpc.StatusOrBuilder>(
getStatus(),
getParentForChildren(),
isClean());
status_ = null;
}
return statusBuilder_;
}
private com.google.protobuf.MapField<
java.lang.Long, milvus.proto.feder.Feder.SegmentIndexData> indexData_;
private com.google.protobuf.MapField
internalGetIndexData() {
if (indexData_ == null) {
return com.google.protobuf.MapField.emptyMapField(
IndexDataDefaultEntryHolder.defaultEntry);
}
return indexData_;
}
private com.google.protobuf.MapField
internalGetMutableIndexData() {
if (indexData_ == null) {
indexData_ = com.google.protobuf.MapField.newMapField(
IndexDataDefaultEntryHolder.defaultEntry);
}
if (!indexData_.isMutable()) {
indexData_ = indexData_.copy();
}
bitField0_ |= 0x00000002;
onChanged();
return indexData_;
}
public int getIndexDataCount() {
return internalGetIndexData().getMap().size();
}
/**
*
* segmentID => segmentIndexData
*
*
* map<int64, .milvus.proto.feder.SegmentIndexData> index_data = 2;
*/
@java.lang.Override
public boolean containsIndexData(
long key) {
return internalGetIndexData().getMap().containsKey(key);
}
/**
* Use {@link #getIndexDataMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getIndexData() {
return getIndexDataMap();
}
/**
*
* segmentID => segmentIndexData
*
*
* map<int64, .milvus.proto.feder.SegmentIndexData> index_data = 2;
*/
@java.lang.Override
public java.util.Map getIndexDataMap() {
return internalGetIndexData().getMap();
}
/**
*
* segmentID => segmentIndexData
*
*
* map<int64, .milvus.proto.feder.SegmentIndexData> index_data = 2;
*/
@java.lang.Override
public /* nullable */
milvus.proto.feder.Feder.SegmentIndexData getIndexDataOrDefault(
long key,
/* nullable */
milvus.proto.feder.Feder.SegmentIndexData defaultValue) {
java.util.Map map =
internalGetIndexData().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
*
* segmentID => segmentIndexData
*
*
* map<int64, .milvus.proto.feder.SegmentIndexData> index_data = 2;
*/
@java.lang.Override
public milvus.proto.feder.Feder.SegmentIndexData getIndexDataOrThrow(
long key) {
java.util.Map map =
internalGetIndexData().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearIndexData() {
bitField0_ = (bitField0_ & ~0x00000002);
internalGetMutableIndexData().getMutableMap()
.clear();
return this;
}
/**
*
* segmentID => segmentIndexData
*
*
* map<int64, .milvus.proto.feder.SegmentIndexData> index_data = 2;
*/
public Builder removeIndexData(
long key) {
internalGetMutableIndexData().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableIndexData() {
bitField0_ |= 0x00000002;
return internalGetMutableIndexData().getMutableMap();
}
/**
*
* segmentID => segmentIndexData
*
*
* map<int64, .milvus.proto.feder.SegmentIndexData> index_data = 2;
*/
public Builder putIndexData(
long key,
milvus.proto.feder.Feder.SegmentIndexData value) {
if (value == null) { throw new NullPointerException("map value"); }
internalGetMutableIndexData().getMutableMap()
.put(key, value);
bitField0_ |= 0x00000002;
return this;
}
/**
*
* segmentID => segmentIndexData
*
*
* map<int64, .milvus.proto.feder.SegmentIndexData> index_data = 2;
*/
public Builder putAllIndexData(
java.util.Map values) {
internalGetMutableIndexData().getMutableMap()
.putAll(values);
bitField0_ |= 0x00000002;
return this;
}
private java.util.List indexParams_ =
java.util.Collections.emptyList();
private void ensureIndexParamsIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
indexParams_ = new java.util.ArrayList(indexParams_);
bitField0_ |= 0x00000004;
}
}
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 = 3;
*/
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 = 3;
*/
public int getIndexParamsCount() {
if (indexParamsBuilder_ == null) {
return indexParams_.size();
} else {
return indexParamsBuilder_.getCount();
}
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 3;
*/
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 = 3;
*/
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 = 3;
*/
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 = 3;
*/
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 = 3;
*/
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 = 3;
*/
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 = 3;
*/
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 = 3;
*/
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 = 3;
*/
public Builder clearIndexParams() {
if (indexParamsBuilder_ == null) {
indexParams_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
indexParamsBuilder_.clear();
}
return this;
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 3;
*/
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 = 3;
*/
public io.milvus.grpc.KeyValuePair.Builder getIndexParamsBuilder(
int index) {
return getIndexParamsFieldBuilder().getBuilder(index);
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 3;
*/
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 = 3;
*/
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 = 3;
*/
public io.milvus.grpc.KeyValuePair.Builder addIndexParamsBuilder() {
return getIndexParamsFieldBuilder().addBuilder(
io.milvus.grpc.KeyValuePair.getDefaultInstance());
}
/**
* repeated .milvus.proto.common.KeyValuePair index_params = 3;
*/
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 = 3;
*/
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_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
indexParams_ = null;
}
return indexParamsBuilder_;
}
@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.feder.DescribeSegmentIndexDataResponse)
}
// @@protoc_insertion_point(class_scope:milvus.proto.feder.DescribeSegmentIndexDataResponse)
private static final milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse();
}
public static milvus.proto.feder.Feder.DescribeSegmentIndexDataResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DescribeSegmentIndexDataResponse 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.feder.Feder.DescribeSegmentIndexDataResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_feder_SegmentIndexData_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_feder_SegmentIndexData_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_feder_FederSegmentSearchResult_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_feder_FederSegmentSearchResult_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_feder_ListIndexedSegmentRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_feder_ListIndexedSegmentRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_feder_ListIndexedSegmentResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_feder_ListIndexedSegmentResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_feder_DescribeSegmentIndexDataRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_feder_DescribeSegmentIndexDataRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_feder_DescribeSegmentIndexDataResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_feder_DescribeSegmentIndexDataResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_milvus_proto_feder_DescribeSegmentIndexDataResponse_IndexDataEntry_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_milvus_proto_feder_DescribeSegmentIndexDataResponse_IndexDataEntry_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\013feder.proto\022\022milvus.proto.feder\032\014commo" +
"n.proto\"9\n\020SegmentIndexData\022\021\n\tsegmentID" +
"\030\001 \001(\003\022\022\n\nindex_data\030\002 \001(\t\"A\n\030FederSegme" +
"ntSearchResult\022\021\n\tsegmentID\030\001 \001(\003\022\022\n\nvis" +
"it_info\030\002 \001(\t\"t\n\031ListIndexedSegmentReque" +
"st\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common.M" +
"sgBase\022\027\n\017collection_name\030\002 \001(\t\022\022\n\nindex" +
"_name\030\003 \001(\t\"]\n\032ListIndexedSegmentRespons" +
"e\022+\n\006status\030\001 \001(\0132\033.milvus.proto.common." +
"Status\022\022\n\nsegmentIDs\030\002 \003(\003\"\217\001\n\037DescribeS" +
"egmentIndexDataRequest\022*\n\004base\030\001 \001(\0132\034.m" +
"ilvus.proto.common.MsgBase\022\027\n\017collection" +
"_name\030\002 \001(\t\022\022\n\nindex_name\030\003 \001(\t\022\023\n\013segme" +
"ntsIDs\030\004 \003(\003\"\271\002\n DescribeSegmentIndexDat" +
"aResponse\022+\n\006status\030\001 \001(\0132\033.milvus.proto" +
".common.Status\022W\n\nindex_data\030\002 \003(\0132C.mil" +
"vus.proto.feder.DescribeSegmentIndexData" +
"Response.IndexDataEntry\0227\n\014index_params\030" +
"\003 \003(\0132!.milvus.proto.common.KeyValuePair" +
"\032V\n\016IndexDataEntry\022\013\n\003key\030\001 \001(\003\0223\n\005value" +
"\030\002 \001(\0132$.milvus.proto.feder.SegmentIndex" +
"Data:\0028\001B5Z3github.com/milvus-io/milvus-" +
"proto/go-api/v2/federpbb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
io.milvus.grpc.CommonProto.getDescriptor(),
});
internal_static_milvus_proto_feder_SegmentIndexData_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_milvus_proto_feder_SegmentIndexData_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_feder_SegmentIndexData_descriptor,
new java.lang.String[] { "SegmentID", "IndexData", });
internal_static_milvus_proto_feder_FederSegmentSearchResult_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_milvus_proto_feder_FederSegmentSearchResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_feder_FederSegmentSearchResult_descriptor,
new java.lang.String[] { "SegmentID", "VisitInfo", });
internal_static_milvus_proto_feder_ListIndexedSegmentRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_milvus_proto_feder_ListIndexedSegmentRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_feder_ListIndexedSegmentRequest_descriptor,
new java.lang.String[] { "Base", "CollectionName", "IndexName", });
internal_static_milvus_proto_feder_ListIndexedSegmentResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_milvus_proto_feder_ListIndexedSegmentResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_feder_ListIndexedSegmentResponse_descriptor,
new java.lang.String[] { "Status", "SegmentIDs", });
internal_static_milvus_proto_feder_DescribeSegmentIndexDataRequest_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_milvus_proto_feder_DescribeSegmentIndexDataRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_feder_DescribeSegmentIndexDataRequest_descriptor,
new java.lang.String[] { "Base", "CollectionName", "IndexName", "SegmentsIDs", });
internal_static_milvus_proto_feder_DescribeSegmentIndexDataResponse_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_milvus_proto_feder_DescribeSegmentIndexDataResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_feder_DescribeSegmentIndexDataResponse_descriptor,
new java.lang.String[] { "Status", "IndexData", "IndexParams", });
internal_static_milvus_proto_feder_DescribeSegmentIndexDataResponse_IndexDataEntry_descriptor =
internal_static_milvus_proto_feder_DescribeSegmentIndexDataResponse_descriptor.getNestedTypes().get(0);
internal_static_milvus_proto_feder_DescribeSegmentIndexDataResponse_IndexDataEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_milvus_proto_feder_DescribeSegmentIndexDataResponse_IndexDataEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
io.milvus.grpc.CommonProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}