
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 database.
// 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.emptyList();
partitionIDs_ = emptyLongList();
createdTimestamps_ = emptyLongList();
createdUtcTimestamps_ = emptyLongList();
inMemoryPercentages_ = emptyLongList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ShowPartitionsResponse();
}
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);
}
private int bitField0_;
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 ((bitField0_ & 0x00000001) != 0);
}
/**
*
* 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 status_ == null ? io.milvus.grpc.Status.getDefaultInstance() : status_;
}
public static final int PARTITION_NAMES_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList partitionNames_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
* 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;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList partitionIDs_ =
emptyLongList();
/**
*
* 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;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList createdTimestamps_ =
emptyLongList();
/**
*
* 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;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList createdUtcTimestamps_ =
emptyLongList();
/**
*
* 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;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList inMemoryPercentages_ =
emptyLongList();
/**
*
* Load percentage on querynode
* Deprecated: use GetLoadingProgress rpc instead
*
*
* repeated int64 inMemory_percentages = 6 [deprecated = true];
* @deprecated milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated.
* See milvus.proto;l=673
* @return A list containing the inMemoryPercentages.
*/
@java.lang.Override
@java.lang.Deprecated public java.util.List
getInMemoryPercentagesList() {
return inMemoryPercentages_;
}
/**
*
* Load percentage on querynode
* Deprecated: use GetLoadingProgress rpc instead
*
*
* repeated int64 inMemory_percentages = 6 [deprecated = true];
* @deprecated milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated.
* See milvus.proto;l=673
* @return The count of inMemoryPercentages.
*/
@java.lang.Deprecated public int getInMemoryPercentagesCount() {
return inMemoryPercentages_.size();
}
/**
*
* Load percentage on querynode
* Deprecated: use GetLoadingProgress rpc instead
*
*
* repeated int64 inMemory_percentages = 6 [deprecated = true];
* @deprecated milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated.
* See milvus.proto;l=673
* @param index The index of the element to return.
* @return The inMemoryPercentages at the given index.
*/
@java.lang.Deprecated 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 (((bitField0_ & 0x00000001) != 0)) {
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));
}
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 < 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 += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.milvus.grpc.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 (!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 (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) + getUnknownFields().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) {
getStatusFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
partitionNames_ =
com.google.protobuf.LazyStringArrayList.emptyList();
partitionIDs_ = emptyLongList();
createdTimestamps_ = emptyLongList();
createdUtcTimestamps_ = emptyLongList();
inMemoryPercentages_ = emptyLongList();
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);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(io.milvus.grpc.ShowPartitionsResponse 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)) {
partitionNames_.makeImmutable();
result.partitionNames_ = partitionNames_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
partitionIDs_.makeImmutable();
result.partitionIDs_ = partitionIDs_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
createdTimestamps_.makeImmutable();
result.createdTimestamps_ = createdTimestamps_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
createdUtcTimestamps_.makeImmutable();
result.createdUtcTimestamps_ = createdUtcTimestamps_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
inMemoryPercentages_.makeImmutable();
result.inMemoryPercentages_ = inMemoryPercentages_;
}
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 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_ |= 0x00000002;
} else {
ensurePartitionNamesIsMutable();
partitionNames_.addAll(other.partitionNames_);
}
onChanged();
}
if (!other.partitionIDs_.isEmpty()) {
if (partitionIDs_.isEmpty()) {
partitionIDs_ = other.partitionIDs_;
partitionIDs_.makeImmutable();
bitField0_ |= 0x00000004;
} else {
ensurePartitionIDsIsMutable();
partitionIDs_.addAll(other.partitionIDs_);
}
onChanged();
}
if (!other.createdTimestamps_.isEmpty()) {
if (createdTimestamps_.isEmpty()) {
createdTimestamps_ = other.createdTimestamps_;
createdTimestamps_.makeImmutable();
bitField0_ |= 0x00000008;
} else {
ensureCreatedTimestampsIsMutable();
createdTimestamps_.addAll(other.createdTimestamps_);
}
onChanged();
}
if (!other.createdUtcTimestamps_.isEmpty()) {
if (createdUtcTimestamps_.isEmpty()) {
createdUtcTimestamps_ = other.createdUtcTimestamps_;
createdUtcTimestamps_.makeImmutable();
bitField0_ |= 0x00000010;
} else {
ensureCreatedUtcTimestampsIsMutable();
createdUtcTimestamps_.addAll(other.createdUtcTimestamps_);
}
onChanged();
}
if (!other.inMemoryPercentages_.isEmpty()) {
if (inMemoryPercentages_.isEmpty()) {
inMemoryPercentages_ = other.inMemoryPercentages_;
inMemoryPercentages_.makeImmutable();
bitField0_ |= 0x00000020;
} else {
ensureInMemoryPercentagesIsMutable();
inMemoryPercentages_.addAll(other.inMemoryPercentages_);
}
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 18: {
java.lang.String s = input.readStringRequireUtf8();
ensurePartitionNamesIsMutable();
partitionNames_.add(s);
break;
} // case 18
case 24: {
long v = input.readInt64();
ensurePartitionIDsIsMutable();
partitionIDs_.addLong(v);
break;
} // case 24
case 26: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensurePartitionIDsIsMutable();
while (input.getBytesUntilLimit() > 0) {
partitionIDs_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 26
case 32: {
long v = input.readUInt64();
ensureCreatedTimestampsIsMutable();
createdTimestamps_.addLong(v);
break;
} // case 32
case 34: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureCreatedTimestampsIsMutable();
while (input.getBytesUntilLimit() > 0) {
createdTimestamps_.addLong(input.readUInt64());
}
input.popLimit(limit);
break;
} // case 34
case 40: {
long v = input.readUInt64();
ensureCreatedUtcTimestampsIsMutable();
createdUtcTimestamps_.addLong(v);
break;
} // case 40
case 42: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureCreatedUtcTimestampsIsMutable();
while (input.getBytesUntilLimit() > 0) {
createdUtcTimestamps_.addLong(input.readUInt64());
}
input.popLimit(limit);
break;
} // case 42
case 48: {
long v = input.readInt64();
ensureInMemoryPercentagesIsMutable();
inMemoryPercentages_.addLong(v);
break;
} // case 48
case 50: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureInMemoryPercentagesIsMutable();
while (input.getBytesUntilLimit() > 0) {
inMemoryPercentages_.addLong(input.readInt64());
}
input.popLimit(limit);
break;
} // case 50
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_;
/**
*
* Contain error_code and reason
*
*
* .milvus.proto.common.Status status = 1;
* @return Whether the status field is set.
*/
public boolean hasStatus() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
*
* 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;
} else {
statusBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
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();
} else {
statusBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
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 (((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;
}
/**
*
* Contain error_code and reason
*
*
* .milvus.proto.common.Status status = 1;
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000001);
status_ = null;
if (statusBuilder_ != null) {
statusBuilder_.dispose();
statusBuilder_ = null;
}
onChanged();
return this;
}
/**
*
* Contain error_code and reason
*
*
* .milvus.proto.common.Status status = 1;
*/
public io.milvus.grpc.Status.Builder getStatusBuilder() {
bitField0_ |= 0x00000001;
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.LazyStringArrayList partitionNames_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensurePartitionNamesIsMutable() {
if (!partitionNames_.isModifiable()) {
partitionNames_ = new com.google.protobuf.LazyStringArrayList(partitionNames_);
}
bitField0_ |= 0x00000002;
}
/**
*
* All partition names for this collection
*
*
* repeated string partition_names = 2;
* @return A list containing the partitionNames.
*/
public com.google.protobuf.ProtocolStringList
getPartitionNamesList() {
partitionNames_.makeImmutable();
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);
}
/**
*
* 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);
bitField0_ |= 0x00000002;
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);
bitField0_ |= 0x00000002;
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_);
bitField0_ |= 0x00000002;
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.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);;
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);
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList partitionIDs_ = emptyLongList();
private void ensurePartitionIDsIsMutable() {
if (!partitionIDs_.isModifiable()) {
partitionIDs_ = makeMutableCopy(partitionIDs_);
}
bitField0_ |= 0x00000004;
}
/**
*
* All partition ids for this collection
*
*
* repeated int64 partitionIDs = 3;
* @return A list containing the partitionIDs.
*/
public java.util.List
getPartitionIDsList() {
partitionIDs_.makeImmutable();
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);
}
/**
*
* 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);
bitField0_ |= 0x00000004;
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);
bitField0_ |= 0x00000004;
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_);
bitField0_ |= 0x00000004;
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_ & ~0x00000004);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList createdTimestamps_ = emptyLongList();
private void ensureCreatedTimestampsIsMutable() {
if (!createdTimestamps_.isModifiable()) {
createdTimestamps_ = makeMutableCopy(createdTimestamps_);
}
bitField0_ |= 0x00000008;
}
/**
*
* All hybrid timestamps
*
*
* repeated uint64 created_timestamps = 4;
* @return A list containing the createdTimestamps.
*/
public java.util.List
getCreatedTimestampsList() {
createdTimestamps_.makeImmutable();
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);
}
/**
*
* 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);
bitField0_ |= 0x00000008;
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);
bitField0_ |= 0x00000008;
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_);
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* All hybrid timestamps
*
*
* repeated uint64 created_timestamps = 4;
* @return This builder for chaining.
*/
public Builder clearCreatedTimestamps() {
createdTimestamps_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList createdUtcTimestamps_ = emptyLongList();
private void ensureCreatedUtcTimestampsIsMutable() {
if (!createdUtcTimestamps_.isModifiable()) {
createdUtcTimestamps_ = makeMutableCopy(createdUtcTimestamps_);
}
bitField0_ |= 0x00000010;
}
/**
*
* All utc timestamps calculated by created_timestamps
*
*
* repeated uint64 created_utc_timestamps = 5;
* @return A list containing the createdUtcTimestamps.
*/
public java.util.List
getCreatedUtcTimestampsList() {
createdUtcTimestamps_.makeImmutable();
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);
}
/**
*
* 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);
bitField0_ |= 0x00000010;
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);
bitField0_ |= 0x00000010;
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_);
bitField0_ |= 0x00000010;
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_ & ~0x00000010);
onChanged();
return this;
}
private com.google.protobuf.Internal.LongList inMemoryPercentages_ = emptyLongList();
private void ensureInMemoryPercentagesIsMutable() {
if (!inMemoryPercentages_.isModifiable()) {
inMemoryPercentages_ = makeMutableCopy(inMemoryPercentages_);
}
bitField0_ |= 0x00000020;
}
/**
*
* Load percentage on querynode
* Deprecated: use GetLoadingProgress rpc instead
*
*
* repeated int64 inMemory_percentages = 6 [deprecated = true];
* @deprecated milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated.
* See milvus.proto;l=673
* @return A list containing the inMemoryPercentages.
*/
@java.lang.Deprecated public java.util.List
getInMemoryPercentagesList() {
inMemoryPercentages_.makeImmutable();
return inMemoryPercentages_;
}
/**
*
* Load percentage on querynode
* Deprecated: use GetLoadingProgress rpc instead
*
*
* repeated int64 inMemory_percentages = 6 [deprecated = true];
* @deprecated milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated.
* See milvus.proto;l=673
* @return The count of inMemoryPercentages.
*/
@java.lang.Deprecated public int getInMemoryPercentagesCount() {
return inMemoryPercentages_.size();
}
/**
*
* Load percentage on querynode
* Deprecated: use GetLoadingProgress rpc instead
*
*
* repeated int64 inMemory_percentages = 6 [deprecated = true];
* @deprecated milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated.
* See milvus.proto;l=673
* @param index The index of the element to return.
* @return The inMemoryPercentages at the given index.
*/
@java.lang.Deprecated public long getInMemoryPercentages(int index) {
return inMemoryPercentages_.getLong(index);
}
/**
*
* Load percentage on querynode
* Deprecated: use GetLoadingProgress rpc instead
*
*
* repeated int64 inMemory_percentages = 6 [deprecated = true];
* @deprecated milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated.
* See milvus.proto;l=673
* @param index The index to set the value at.
* @param value The inMemoryPercentages to set.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder setInMemoryPercentages(
int index, long value) {
ensureInMemoryPercentagesIsMutable();
inMemoryPercentages_.setLong(index, value);
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
*
* Load percentage on querynode
* Deprecated: use GetLoadingProgress rpc instead
*
*
* repeated int64 inMemory_percentages = 6 [deprecated = true];
* @deprecated milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated.
* See milvus.proto;l=673
* @param value The inMemoryPercentages to add.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder addInMemoryPercentages(long value) {
ensureInMemoryPercentagesIsMutable();
inMemoryPercentages_.addLong(value);
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
*
* Load percentage on querynode
* Deprecated: use GetLoadingProgress rpc instead
*
*
* repeated int64 inMemory_percentages = 6 [deprecated = true];
* @deprecated milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated.
* See milvus.proto;l=673
* @param values The inMemoryPercentages to add.
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder addAllInMemoryPercentages(
java.lang.Iterable extends java.lang.Long> values) {
ensureInMemoryPercentagesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, inMemoryPercentages_);
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
*
* Load percentage on querynode
* Deprecated: use GetLoadingProgress rpc instead
*
*
* repeated int64 inMemory_percentages = 6 [deprecated = true];
* @deprecated milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated.
* See milvus.proto;l=673
* @return This builder for chaining.
*/
@java.lang.Deprecated public Builder clearInMemoryPercentages() {
inMemoryPercentages_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000020);
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 {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.milvus.grpc.ShowPartitionsResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy