io.milvus.grpc.ShowPartitionsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of milvus-sdk-java Show documentation
Show all versions of milvus-sdk-java Show documentation
Java SDK for Milvus, a distributed high-performance vector search engine.
update grpc to 1.42.1
update protobuf to 3.19.1
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: milvus.proto
package io.milvus.grpc;
/**
*
* List all partitions for particular collection response.
* The returned datas are all rows, we can format to columns by therir index.
*
*
* Protobuf type {@code milvus.proto.milvus.ShowPartitionsResponse}
*/
public final class ShowPartitionsResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:milvus.proto.milvus.ShowPartitionsResponse)
ShowPartitionsResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ShowPartitionsResponse.newBuilder() to construct.
private ShowPartitionsResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ShowPartitionsResponse() {
partitionNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
partitionIDs_ = emptyLongList();
createdTimestamps_ = emptyLongList();
createdUtcTimestamps_ = emptyLongList();
inMemoryPercentages_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ShowPartitionsResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ShowPartitionsResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
io.milvus.grpc.Status.Builder subBuilder = null;
if (status_ != null) {
subBuilder = status_.toBuilder();
}
status_ = input.readMessage(io.milvus.grpc.Status.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(status_);
status_ = subBuilder.buildPartial();
}
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
partitionNames_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
partitionNames_.add(s);
break;
}
case 24: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
partitionIDs_ = newLongList();
mutable_bitField0_ |= 0x00000002;
}
partitionIDs_.addLong(input.readInt64());
break;
}
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) {
partitionIDs_ = newLongList();
mutable_bitField0_ |= 0x00000002;
}
while (input.getBytesUntilLimit() > 0) {
partitionIDs_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
}
case 32: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
createdTimestamps_ = newLongList();
mutable_bitField0_ |= 0x00000004;
}
createdTimestamps_.addLong(input.readUInt64());
break;
}
case 34: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) {
createdTimestamps_ = newLongList();
mutable_bitField0_ |= 0x00000004;
}
while (input.getBytesUntilLimit() > 0) {
createdTimestamps_.addLong(input.readUInt64());
}
input.popLimit(limit);
break;
}
case 40: {
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
createdUtcTimestamps_ = newLongList();
mutable_bitField0_ |= 0x00000008;
}
createdUtcTimestamps_.addLong(input.readUInt64());
break;
}
case 42: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000008) != 0) && input.getBytesUntilLimit() > 0) {
createdUtcTimestamps_ = newLongList();
mutable_bitField0_ |= 0x00000008;
}
while (input.getBytesUntilLimit() > 0) {
createdUtcTimestamps_.addLong(input.readUInt64());
}
input.popLimit(limit);
break;
}
case 48: {
if (!((mutable_bitField0_ & 0x00000010) != 0)) {
inMemoryPercentages_ = newLongList();
mutable_bitField0_ |= 0x00000010;
}
inMemoryPercentages_.addLong(input.readInt64());
break;
}
case 50: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000010) != 0) && input.getBytesUntilLimit() > 0) {
inMemoryPercentages_ = newLongList();
mutable_bitField0_ |= 0x00000010;
}
while (input.getBytesUntilLimit() > 0) {
inMemoryPercentages_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
partitionNames_ = partitionNames_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
partitionIDs_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
createdTimestamps_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000008) != 0)) {
createdUtcTimestamps_.makeImmutable(); // C
}
if (((mutable_bitField0_ & 0x00000010) != 0)) {
inMemoryPercentages_.makeImmutable(); // C
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.milvus.grpc.MilvusProto.internal_static_milvus_proto_milvus_ShowPartitionsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.milvus.grpc.MilvusProto.internal_static_milvus_proto_milvus_ShowPartitionsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.milvus.grpc.ShowPartitionsResponse.class, io.milvus.grpc.ShowPartitionsResponse.Builder.class);
}
public static final int STATUS_FIELD_NUMBER = 1;
private io.milvus.grpc.Status status_;
/**
*
* Contain error_code and reason
*
*
* .milvus.proto.common.Status status = 1;
* @return Whether the status field is set.
*/
@java.lang.Override
public boolean hasStatus() {
return status_ != null;
}
/**
*
* Contain error_code and reason
*
*
* .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_;
}
/**
*
* Contain error_code and reason
*
*
* .milvus.proto.common.Status status = 1;
*/
@java.lang.Override
public io.milvus.grpc.StatusOrBuilder getStatusOrBuilder() {
return getStatus();
}
public static final int PARTITION_NAMES_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList partitionNames_;
/**
*
* All partition names for this collection
*
*
* repeated string partition_names = 2;
* @return A list containing the partitionNames.
*/
public com.google.protobuf.ProtocolStringList
getPartitionNamesList() {
return partitionNames_;
}
/**
*
* All partition names for this collection
*
*
* repeated string partition_names = 2;
* @return The count of partitionNames.
*/
public int getPartitionNamesCount() {
return partitionNames_.size();
}
/**
*
* All partition names for this collection
*
*
* repeated string partition_names = 2;
* @param index The index of the element to return.
* @return The partitionNames at the given index.
*/
public java.lang.String getPartitionNames(int index) {
return partitionNames_.get(index);
}
/**
*
* All partition names for this collection
*
*
* repeated string partition_names = 2;
* @param index The index of the value to return.
* @return The bytes of the partitionNames at the given index.
*/
public com.google.protobuf.ByteString
getPartitionNamesBytes(int index) {
return partitionNames_.getByteString(index);
}
public static final int PARTITIONIDS_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.LongList partitionIDs_;
/**
*
* All partition ids for this collection
*
*
* repeated int64 partitionIDs = 3;
* @return A list containing the partitionIDs.
*/
@java.lang.Override
public java.util.List
getPartitionIDsList() {
return partitionIDs_;
}
/**
*
* All partition ids for this collection
*
*
* repeated int64 partitionIDs = 3;
* @return The count of partitionIDs.
*/
public int getPartitionIDsCount() {
return partitionIDs_.size();
}
/**
*
* All partition ids for this collection
*
*
* repeated int64 partitionIDs = 3;
* @param index The index of the element to return.
* @return The partitionIDs at the given index.
*/
public long getPartitionIDs(int index) {
return partitionIDs_.getLong(index);
}
private int partitionIDsMemoizedSerializedSize = -1;
public static final int CREATED_TIMESTAMPS_FIELD_NUMBER = 4;
private com.google.protobuf.Internal.LongList createdTimestamps_;
/**
*
* All hybrid timestamps
*
*
* repeated uint64 created_timestamps = 4;
* @return A list containing the createdTimestamps.
*/
@java.lang.Override
public java.util.List
getCreatedTimestampsList() {
return createdTimestamps_;
}
/**
*
* All hybrid timestamps
*
*
* repeated uint64 created_timestamps = 4;
* @return The count of createdTimestamps.
*/
public int getCreatedTimestampsCount() {
return createdTimestamps_.size();
}
/**
*
* All hybrid timestamps
*
*
* repeated uint64 created_timestamps = 4;
* @param index The index of the element to return.
* @return The createdTimestamps at the given index.
*/
public long getCreatedTimestamps(int index) {
return createdTimestamps_.getLong(index);
}
private int createdTimestampsMemoizedSerializedSize = -1;
public static final int CREATED_UTC_TIMESTAMPS_FIELD_NUMBER = 5;
private com.google.protobuf.Internal.LongList createdUtcTimestamps_;
/**
*
* All utc timestamps calculated by created_timestamps
*
*
* repeated uint64 created_utc_timestamps = 5;
* @return A list containing the createdUtcTimestamps.
*/
@java.lang.Override
public java.util.List
getCreatedUtcTimestampsList() {
return createdUtcTimestamps_;
}
/**
*
* All utc timestamps calculated by created_timestamps
*
*
* repeated uint64 created_utc_timestamps = 5;
* @return The count of createdUtcTimestamps.
*/
public int getCreatedUtcTimestampsCount() {
return createdUtcTimestamps_.size();
}
/**
*
* All utc timestamps calculated by created_timestamps
*
*
* repeated uint64 created_utc_timestamps = 5;
* @param index The index of the element to return.
* @return The createdUtcTimestamps at the given index.
*/
public long getCreatedUtcTimestamps(int index) {
return createdUtcTimestamps_.getLong(index);
}
private int createdUtcTimestampsMemoizedSerializedSize = -1;
public static final int INMEMORY_PERCENTAGES_FIELD_NUMBER = 6;
private com.google.protobuf.Internal.LongList inMemoryPercentages_;
/**
*
* Load percentage on querynode
*
*
* repeated int64 inMemory_percentages = 6;
* @return A list containing the inMemoryPercentages.
*/
@java.lang.Override
public java.util.List
getInMemoryPercentagesList() {
return inMemoryPercentages_;
}
/**
*
* Load percentage on querynode
*
*
* repeated int64 inMemory_percentages = 6;
* @return The count of inMemoryPercentages.
*/
public int getInMemoryPercentagesCount() {
return inMemoryPercentages_.size();
}
/**
*
* Load percentage on querynode
*
*
* repeated int64 inMemory_percentages = 6;
* @param index The index of the element to return.
* @return The inMemoryPercentages at the given index.
*/
public long getInMemoryPercentages(int index) {
return inMemoryPercentages_.getLong(index);
}
private int inMemoryPercentagesMemoizedSerializedSize = -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 (status_ != null) {
output.writeMessage(1, getStatus());
}
for (int i = 0; i < partitionNames_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, partitionNames_.getRaw(i));
}
if (getPartitionIDsList().size() > 0) {
output.writeUInt32NoTag(26);
output.writeUInt32NoTag(partitionIDsMemoizedSerializedSize);
}
for (int i = 0; i < partitionIDs_.size(); i++) {
output.writeInt64NoTag(partitionIDs_.getLong(i));
}
if (getCreatedTimestampsList().size() > 0) {
output.writeUInt32NoTag(34);
output.writeUInt32NoTag(createdTimestampsMemoizedSerializedSize);
}
for (int i = 0; i < createdTimestamps_.size(); i++) {
output.writeUInt64NoTag(createdTimestamps_.getLong(i));
}
if (getCreatedUtcTimestampsList().size() > 0) {
output.writeUInt32NoTag(42);
output.writeUInt32NoTag(createdUtcTimestampsMemoizedSerializedSize);
}
for (int i = 0; i < createdUtcTimestamps_.size(); i++) {
output.writeUInt64NoTag(createdUtcTimestamps_.getLong(i));
}
if (getInMemoryPercentagesList().size() > 0) {
output.writeUInt32NoTag(50);
output.writeUInt32NoTag(inMemoryPercentagesMemoizedSerializedSize);
}
for (int i = 0; i < inMemoryPercentages_.size(); i++) {
output.writeInt64NoTag(inMemoryPercentages_.getLong(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (status_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getStatus());
}
{
int dataSize = 0;
for (int i = 0; i < partitionNames_.size(); i++) {
dataSize += computeStringSizeNoTag(partitionNames_.getRaw(i));
}
size += dataSize;
size += 1 * getPartitionNamesList().size();
}
{
int dataSize = 0;
for (int i = 0; i < partitionIDs_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(partitionIDs_.getLong(i));
}
size += dataSize;
if (!getPartitionIDsList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
partitionIDsMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < createdTimestamps_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt64SizeNoTag(createdTimestamps_.getLong(i));
}
size += dataSize;
if (!getCreatedTimestampsList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
createdTimestampsMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < createdUtcTimestamps_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeUInt64SizeNoTag(createdUtcTimestamps_.getLong(i));
}
size += dataSize;
if (!getCreatedUtcTimestampsList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
createdUtcTimestampsMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < inMemoryPercentages_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(inMemoryPercentages_.getLong(i));
}
size += dataSize;
if (!getInMemoryPercentagesList().isEmpty()) {
size += 1;
size += com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
inMemoryPercentagesMemoizedSerializedSize = dataSize;
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.milvus.grpc.ShowPartitionsResponse)) {
return super.equals(obj);
}
io.milvus.grpc.ShowPartitionsResponse other = (io.milvus.grpc.ShowPartitionsResponse) obj;
if (hasStatus() != other.hasStatus()) return false;
if (hasStatus()) {
if (!getStatus()
.equals(other.getStatus())) return false;
}
if (!getPartitionNamesList()
.equals(other.getPartitionNamesList())) return false;
if (!getPartitionIDsList()
.equals(other.getPartitionIDsList())) return false;
if (!getCreatedTimestampsList()
.equals(other.getCreatedTimestampsList())) return false;
if (!getCreatedUtcTimestampsList()
.equals(other.getCreatedUtcTimestampsList())) return false;
if (!getInMemoryPercentagesList()
.equals(other.getInMemoryPercentagesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasStatus()) {
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + getStatus().hashCode();
}
if (getPartitionNamesCount() > 0) {
hash = (37 * hash) + PARTITION_NAMES_FIELD_NUMBER;
hash = (53 * hash) + getPartitionNamesList().hashCode();
}
if (getPartitionIDsCount() > 0) {
hash = (37 * hash) + PARTITIONIDS_FIELD_NUMBER;
hash = (53 * hash) + getPartitionIDsList().hashCode();
}
if (getCreatedTimestampsCount() > 0) {
hash = (37 * hash) + CREATED_TIMESTAMPS_FIELD_NUMBER;
hash = (53 * hash) + getCreatedTimestampsList().hashCode();
}
if (getCreatedUtcTimestampsCount() > 0) {
hash = (37 * hash) + CREATED_UTC_TIMESTAMPS_FIELD_NUMBER;
hash = (53 * hash) + getCreatedUtcTimestampsList().hashCode();
}
if (getInMemoryPercentagesCount() > 0) {
hash = (37 * hash) + INMEMORY_PERCENTAGES_FIELD_NUMBER;
hash = (53 * hash) + getInMemoryPercentagesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.milvus.grpc.ShowPartitionsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.milvus.grpc.ShowPartitionsResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.milvus.grpc.ShowPartitionsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.milvus.grpc.ShowPartitionsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.milvus.grpc.ShowPartitionsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.milvus.grpc.ShowPartitionsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.milvus.grpc.ShowPartitionsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.milvus.grpc.ShowPartitionsResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.milvus.grpc.ShowPartitionsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.milvus.grpc.ShowPartitionsResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.milvus.grpc.ShowPartitionsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.milvus.grpc.ShowPartitionsResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.milvus.grpc.ShowPartitionsResponse 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;
}
/**
*
* List all partitions for particular collection response.
* The returned datas are all rows, we can format to columns by therir index.
*
*
* Protobuf type {@code milvus.proto.milvus.ShowPartitionsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:milvus.proto.milvus.ShowPartitionsResponse)
io.milvus.grpc.ShowPartitionsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.milvus.grpc.MilvusProto.internal_static_milvus_proto_milvus_ShowPartitionsResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.milvus.grpc.MilvusProto.internal_static_milvus_proto_milvus_ShowPartitionsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.milvus.grpc.ShowPartitionsResponse.class, io.milvus.grpc.ShowPartitionsResponse.Builder.class);
}
// Construct using io.milvus.grpc.ShowPartitionsResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (statusBuilder_ == null) {
status_ = null;
} else {
status_ = null;
statusBuilder_ = null;
}
partitionNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
partitionIDs_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000002);
createdTimestamps_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000004);
createdUtcTimestamps_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000008);
inMemoryPercentages_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.milvus.grpc.MilvusProto.internal_static_milvus_proto_milvus_ShowPartitionsResponse_descriptor;
}
@java.lang.Override
public io.milvus.grpc.ShowPartitionsResponse getDefaultInstanceForType() {
return io.milvus.grpc.ShowPartitionsResponse.getDefaultInstance();
}
@java.lang.Override
public io.milvus.grpc.ShowPartitionsResponse build() {
io.milvus.grpc.ShowPartitionsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.milvus.grpc.ShowPartitionsResponse buildPartial() {
io.milvus.grpc.ShowPartitionsResponse result = new io.milvus.grpc.ShowPartitionsResponse(this);
int from_bitField0_ = bitField0_;
if (statusBuilder_ == null) {
result.status_ = status_;
} else {
result.status_ = statusBuilder_.build();
}
if (((bitField0_ & 0x00000001) != 0)) {
partitionNames_ = partitionNames_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.partitionNames_ = partitionNames_;
if (((bitField0_ & 0x00000002) != 0)) {
partitionIDs_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.partitionIDs_ = partitionIDs_;
if (((bitField0_ & 0x00000004) != 0)) {
createdTimestamps_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.createdTimestamps_ = createdTimestamps_;
if (((bitField0_ & 0x00000008) != 0)) {
createdUtcTimestamps_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000008);
}
result.createdUtcTimestamps_ = createdUtcTimestamps_;
if (((bitField0_ & 0x00000010) != 0)) {
inMemoryPercentages_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000010);
}
result.inMemoryPercentages_ = inMemoryPercentages_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.milvus.grpc.ShowPartitionsResponse) {
return mergeFrom((io.milvus.grpc.ShowPartitionsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.milvus.grpc.ShowPartitionsResponse other) {
if (other == io.milvus.grpc.ShowPartitionsResponse.getDefaultInstance()) return this;
if (other.hasStatus()) {
mergeStatus(other.getStatus());
}
if (!other.partitionNames_.isEmpty()) {
if (partitionNames_.isEmpty()) {
partitionNames_ = other.partitionNames_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePartitionNamesIsMutable();
partitionNames_.addAll(other.partitionNames_);
}
onChanged();
}
if (!other.partitionIDs_.isEmpty()) {
if (partitionIDs_.isEmpty()) {
partitionIDs_ = other.partitionIDs_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensurePartitionIDsIsMutable();
partitionIDs_.addAll(other.partitionIDs_);
}
onChanged();
}
if (!other.createdTimestamps_.isEmpty()) {
if (createdTimestamps_.isEmpty()) {
createdTimestamps_ = other.createdTimestamps_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureCreatedTimestampsIsMutable();
createdTimestamps_.addAll(other.createdTimestamps_);
}
onChanged();
}
if (!other.createdUtcTimestamps_.isEmpty()) {
if (createdUtcTimestamps_.isEmpty()) {
createdUtcTimestamps_ = other.createdUtcTimestamps_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureCreatedUtcTimestampsIsMutable();
createdUtcTimestamps_.addAll(other.createdUtcTimestamps_);
}
onChanged();
}
if (!other.inMemoryPercentages_.isEmpty()) {
if (inMemoryPercentages_.isEmpty()) {
inMemoryPercentages_ = other.inMemoryPercentages_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureInMemoryPercentagesIsMutable();
inMemoryPercentages_.addAll(other.inMemoryPercentages_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.milvus.grpc.ShowPartitionsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.milvus.grpc.ShowPartitionsResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
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_;
/**
*
* Contain error_code and reason
*
*
* .milvus.proto.common.Status status = 1;
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return statusBuilder_ != null || status_ != null;
}
/**
*
* Contain error_code and reason
*
*
* .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();
}
}
/**
*
* Contain error_code and reason
*
*
* .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;
onChanged();
} else {
statusBuilder_.setMessage(value);
}
return this;
}
/**
*
* Contain error_code and reason
*
*
* .milvus.proto.common.Status status = 1;
*/
public Builder setStatus(
io.milvus.grpc.Status.Builder builderForValue) {
if (statusBuilder_ == null) {
status_ = builderForValue.build();
onChanged();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Contain error_code and reason
*
*
* .milvus.proto.common.Status status = 1;
*/
public Builder mergeStatus(io.milvus.grpc.Status value) {
if (statusBuilder_ == null) {
if (status_ != null) {
status_ =
io.milvus.grpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
} else {
status_ = value;
}
onChanged();
} else {
statusBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Contain error_code and reason
*
*
* .milvus.proto.common.Status status = 1;
*/
public Builder clearStatus() {
if (statusBuilder_ == null) {
status_ = null;
onChanged();
} else {
status_ = null;
statusBuilder_ = null;
}
return this;
}
/**
*
* Contain error_code and reason
*
*
* .milvus.proto.common.Status status = 1;
*/
public io.milvus.grpc.Status.Builder getStatusBuilder() {
onChanged();
return getStatusFieldBuilder().getBuilder();
}
/**
*
* Contain error_code and reason
*
*
* .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_;
}
}
/**
*
* Contain error_code and reason
*
*
* .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.LazyStringList partitionNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensurePartitionNamesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
partitionNames_ = new com.google.protobuf.LazyStringArrayList(partitionNames_);
bitField0_ |= 0x00000001;
}
}
/**
*
* All partition names for this collection
*
*
* repeated string partition_names = 2;
* @return A list containing the partitionNames.
*/
public com.google.protobuf.ProtocolStringList
getPartitionNamesList() {
return partitionNames_.getUnmodifiableView();
}
/**
*
* All partition names for this collection
*
*
* repeated string partition_names = 2;
* @return The count of partitionNames.
*/
public int getPartitionNamesCount() {
return partitionNames_.size();
}
/**
*
* All partition names for this collection
*
*
* repeated string partition_names = 2;
* @param index The index of the element to return.
* @return The partitionNames at the given index.
*/
public java.lang.String getPartitionNames(int index) {
return partitionNames_.get(index);
}
/**
*
* All partition names for this collection
*
*
* repeated string partition_names = 2;
* @param index The index of the value to return.
* @return The bytes of the partitionNames at the given index.
*/
public com.google.protobuf.ByteString
getPartitionNamesBytes(int index) {
return partitionNames_.getByteString(index);
}
/**
*
* All partition names for this collection
*
*
* repeated string partition_names = 2;
* @param index The index to set the value at.
* @param value The partitionNames to set.
* @return This builder for chaining.
*/
public Builder setPartitionNames(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensurePartitionNamesIsMutable();
partitionNames_.set(index, value);
onChanged();
return this;
}
/**
*
* All partition names for this collection
*
*
* repeated string partition_names = 2;
* @param value The partitionNames to add.
* @return This builder for chaining.
*/
public Builder addPartitionNames(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensurePartitionNamesIsMutable();
partitionNames_.add(value);
onChanged();
return this;
}
/**
*
* All partition names for this collection
*
*
* repeated string partition_names = 2;
* @param values The partitionNames to add.
* @return This builder for chaining.
*/
public Builder addAllPartitionNames(
java.lang.Iterable values) {
ensurePartitionNamesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, partitionNames_);
onChanged();
return this;
}
/**
*
* All partition names for this collection
*
*
* repeated string partition_names = 2;
* @return This builder for chaining.
*/
public Builder clearPartitionNames() {
partitionNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* All partition names for this collection
*
*
* repeated string partition_names = 2;
* @param value The bytes of the partitionNames to add.
* @return This builder for chaining.
*/
public Builder addPartitionNamesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensurePartitionNamesIsMutable();
partitionNames_.add(value);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList partitionIDs_ = emptyLongList();
private void ensurePartitionIDsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
partitionIDs_ = mutableCopy(partitionIDs_);
bitField0_ |= 0x00000002;
}
}
/**
*
* All partition ids for this collection
*
*
* repeated int64 partitionIDs = 3;
* @return A list containing the partitionIDs.
*/
public java.util.List
getPartitionIDsList() {
return ((bitField0_ & 0x00000002) != 0) ?
java.util.Collections.unmodifiableList(partitionIDs_) : partitionIDs_;
}
/**
*
* All partition ids for this collection
*
*
* repeated int64 partitionIDs = 3;
* @return The count of partitionIDs.
*/
public int getPartitionIDsCount() {
return partitionIDs_.size();
}
/**
*
* All partition ids for this collection
*
*
* repeated int64 partitionIDs = 3;
* @param index The index of the element to return.
* @return The partitionIDs at the given index.
*/
public long getPartitionIDs(int index) {
return partitionIDs_.getLong(index);
}
/**
*
* All partition ids for this collection
*
*
* repeated int64 partitionIDs = 3;
* @param index The index to set the value at.
* @param value The partitionIDs to set.
* @return This builder for chaining.
*/
public Builder setPartitionIDs(
int index, long value) {
ensurePartitionIDsIsMutable();
partitionIDs_.setLong(index, value);
onChanged();
return this;
}
/**
*
* All partition ids for this collection
*
*
* repeated int64 partitionIDs = 3;
* @param value The partitionIDs to add.
* @return This builder for chaining.
*/
public Builder addPartitionIDs(long value) {
ensurePartitionIDsIsMutable();
partitionIDs_.addLong(value);
onChanged();
return this;
}
/**
*
* All partition ids for this collection
*
*
* repeated int64 partitionIDs = 3;
* @param values The partitionIDs to add.
* @return This builder for chaining.
*/
public Builder addAllPartitionIDs(
java.lang.Iterable extends java.lang.Long> values) {
ensurePartitionIDsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, partitionIDs_);
onChanged();
return this;
}
/**
*
* All partition ids for this collection
*
*
* repeated int64 partitionIDs = 3;
* @return This builder for chaining.
*/
public Builder clearPartitionIDs() {
partitionIDs_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList createdTimestamps_ = emptyLongList();
private void ensureCreatedTimestampsIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
createdTimestamps_ = mutableCopy(createdTimestamps_);
bitField0_ |= 0x00000004;
}
}
/**
*
* All hybrid timestamps
*
*
* repeated uint64 created_timestamps = 4;
* @return A list containing the createdTimestamps.
*/
public java.util.List
getCreatedTimestampsList() {
return ((bitField0_ & 0x00000004) != 0) ?
java.util.Collections.unmodifiableList(createdTimestamps_) : createdTimestamps_;
}
/**
*
* All hybrid timestamps
*
*
* repeated uint64 created_timestamps = 4;
* @return The count of createdTimestamps.
*/
public int getCreatedTimestampsCount() {
return createdTimestamps_.size();
}
/**
*
* All hybrid timestamps
*
*
* repeated uint64 created_timestamps = 4;
* @param index The index of the element to return.
* @return The createdTimestamps at the given index.
*/
public long getCreatedTimestamps(int index) {
return createdTimestamps_.getLong(index);
}
/**
*
* All hybrid timestamps
*
*
* repeated uint64 created_timestamps = 4;
* @param index The index to set the value at.
* @param value The createdTimestamps to set.
* @return This builder for chaining.
*/
public Builder setCreatedTimestamps(
int index, long value) {
ensureCreatedTimestampsIsMutable();
createdTimestamps_.setLong(index, value);
onChanged();
return this;
}
/**
*
* All hybrid timestamps
*
*
* repeated uint64 created_timestamps = 4;
* @param value The createdTimestamps to add.
* @return This builder for chaining.
*/
public Builder addCreatedTimestamps(long value) {
ensureCreatedTimestampsIsMutable();
createdTimestamps_.addLong(value);
onChanged();
return this;
}
/**
*
* All hybrid timestamps
*
*
* repeated uint64 created_timestamps = 4;
* @param values The createdTimestamps to add.
* @return This builder for chaining.
*/
public Builder addAllCreatedTimestamps(
java.lang.Iterable extends java.lang.Long> values) {
ensureCreatedTimestampsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, createdTimestamps_);
onChanged();
return this;
}
/**
*
* All hybrid timestamps
*
*
* repeated uint64 created_timestamps = 4;
* @return This builder for chaining.
*/
public Builder clearCreatedTimestamps() {
createdTimestamps_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList createdUtcTimestamps_ = emptyLongList();
private void ensureCreatedUtcTimestampsIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
createdUtcTimestamps_ = mutableCopy(createdUtcTimestamps_);
bitField0_ |= 0x00000008;
}
}
/**
*
* All utc timestamps calculated by created_timestamps
*
*
* repeated uint64 created_utc_timestamps = 5;
* @return A list containing the createdUtcTimestamps.
*/
public java.util.List
getCreatedUtcTimestampsList() {
return ((bitField0_ & 0x00000008) != 0) ?
java.util.Collections.unmodifiableList(createdUtcTimestamps_) : createdUtcTimestamps_;
}
/**
*
* All utc timestamps calculated by created_timestamps
*
*
* repeated uint64 created_utc_timestamps = 5;
* @return The count of createdUtcTimestamps.
*/
public int getCreatedUtcTimestampsCount() {
return createdUtcTimestamps_.size();
}
/**
*
* All utc timestamps calculated by created_timestamps
*
*
* repeated uint64 created_utc_timestamps = 5;
* @param index The index of the element to return.
* @return The createdUtcTimestamps at the given index.
*/
public long getCreatedUtcTimestamps(int index) {
return createdUtcTimestamps_.getLong(index);
}
/**
*
* All utc timestamps calculated by created_timestamps
*
*
* repeated uint64 created_utc_timestamps = 5;
* @param index The index to set the value at.
* @param value The createdUtcTimestamps to set.
* @return This builder for chaining.
*/
public Builder setCreatedUtcTimestamps(
int index, long value) {
ensureCreatedUtcTimestampsIsMutable();
createdUtcTimestamps_.setLong(index, value);
onChanged();
return this;
}
/**
*
* All utc timestamps calculated by created_timestamps
*
*
* repeated uint64 created_utc_timestamps = 5;
* @param value The createdUtcTimestamps to add.
* @return This builder for chaining.
*/
public Builder addCreatedUtcTimestamps(long value) {
ensureCreatedUtcTimestampsIsMutable();
createdUtcTimestamps_.addLong(value);
onChanged();
return this;
}
/**
*
* All utc timestamps calculated by created_timestamps
*
*
* repeated uint64 created_utc_timestamps = 5;
* @param values The createdUtcTimestamps to add.
* @return This builder for chaining.
*/
public Builder addAllCreatedUtcTimestamps(
java.lang.Iterable extends java.lang.Long> values) {
ensureCreatedUtcTimestampsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, createdUtcTimestamps_);
onChanged();
return this;
}
/**
*
* All utc timestamps calculated by created_timestamps
*
*
* repeated uint64 created_utc_timestamps = 5;
* @return This builder for chaining.
*/
public Builder clearCreatedUtcTimestamps() {
createdUtcTimestamps_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList inMemoryPercentages_ = emptyLongList();
private void ensureInMemoryPercentagesIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
inMemoryPercentages_ = mutableCopy(inMemoryPercentages_);
bitField0_ |= 0x00000010;
}
}
/**
*
* Load percentage on querynode
*
*
* repeated int64 inMemory_percentages = 6;
* @return A list containing the inMemoryPercentages.
*/
public java.util.List
getInMemoryPercentagesList() {
return ((bitField0_ & 0x00000010) != 0) ?
java.util.Collections.unmodifiableList(inMemoryPercentages_) : inMemoryPercentages_;
}
/**
*
* Load percentage on querynode
*
*
* repeated int64 inMemory_percentages = 6;
* @return The count of inMemoryPercentages.
*/
public int getInMemoryPercentagesCount() {
return inMemoryPercentages_.size();
}
/**
*
* Load percentage on querynode
*
*
* repeated int64 inMemory_percentages = 6;
* @param index The index of the element to return.
* @return The inMemoryPercentages at the given index.
*/
public long getInMemoryPercentages(int index) {
return inMemoryPercentages_.getLong(index);
}
/**
*
* Load percentage on querynode
*
*
* repeated int64 inMemory_percentages = 6;
* @param index The index to set the value at.
* @param value The inMemoryPercentages to set.
* @return This builder for chaining.
*/
public Builder setInMemoryPercentages(
int index, long value) {
ensureInMemoryPercentagesIsMutable();
inMemoryPercentages_.setLong(index, value);
onChanged();
return this;
}
/**
*
* Load percentage on querynode
*
*
* repeated int64 inMemory_percentages = 6;
* @param value The inMemoryPercentages to add.
* @return This builder for chaining.
*/
public Builder addInMemoryPercentages(long value) {
ensureInMemoryPercentagesIsMutable();
inMemoryPercentages_.addLong(value);
onChanged();
return this;
}
/**
*
* Load percentage on querynode
*
*
* repeated int64 inMemory_percentages = 6;
* @param values The inMemoryPercentages to add.
* @return This builder for chaining.
*/
public Builder addAllInMemoryPercentages(
java.lang.Iterable extends java.lang.Long> values) {
ensureInMemoryPercentagesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, inMemoryPercentages_);
onChanged();
return this;
}
/**
*
* Load percentage on querynode
*
*
* repeated int64 inMemory_percentages = 6;
* @return This builder for chaining.
*/
public Builder clearInMemoryPercentages() {
inMemoryPercentages_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000010);
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.milvus.ShowPartitionsResponse)
}
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.ShowPartitionsResponse)
private static final io.milvus.grpc.ShowPartitionsResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.milvus.grpc.ShowPartitionsResponse();
}
public static io.milvus.grpc.ShowPartitionsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ShowPartitionsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ShowPartitionsResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.milvus.grpc.ShowPartitionsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}