All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.milvus.grpc.ShowCollectionsResponse Maven / Gradle / Ivy

There is a newer version: 2.4.8
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: milvus.proto

package io.milvus.grpc;

/**
 * 
 *
 * Return basic collection infos.
 * 
* * Protobuf type {@code milvus.proto.milvus.ShowCollectionsResponse} */ public final class ShowCollectionsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:milvus.proto.milvus.ShowCollectionsResponse) ShowCollectionsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ShowCollectionsResponse.newBuilder() to construct. private ShowCollectionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ShowCollectionsResponse() { collectionNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); collectionIds_ = emptyLongList(); createdTimestamps_ = emptyLongList(); createdUtcTimestamps_ = emptyLongList(); inMemoryPercentages_ = emptyLongList(); queryServiceAvailable_ = emptyBooleanList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ShowCollectionsResponse(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.milvus.grpc.MilvusProto.internal_static_milvus_proto_milvus_ShowCollectionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.milvus.grpc.MilvusProto.internal_static_milvus_proto_milvus_ShowCollectionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.milvus.grpc.ShowCollectionsResponse.class, io.milvus.grpc.ShowCollectionsResponse.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 COLLECTION_NAMES_FIELD_NUMBER = 2; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList collectionNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
   * Collection name array
   * 
* * repeated string collection_names = 2; * @return A list containing the collectionNames. */ public com.google.protobuf.ProtocolStringList getCollectionNamesList() { return collectionNames_; } /** *
   * Collection name array
   * 
* * repeated string collection_names = 2; * @return The count of collectionNames. */ public int getCollectionNamesCount() { return collectionNames_.size(); } /** *
   * Collection name array
   * 
* * repeated string collection_names = 2; * @param index The index of the element to return. * @return The collectionNames at the given index. */ public java.lang.String getCollectionNames(int index) { return collectionNames_.get(index); } /** *
   * Collection name array
   * 
* * repeated string collection_names = 2; * @param index The index of the value to return. * @return The bytes of the collectionNames at the given index. */ public com.google.protobuf.ByteString getCollectionNamesBytes(int index) { return collectionNames_.getByteString(index); } public static final int COLLECTION_IDS_FIELD_NUMBER = 3; @SuppressWarnings("serial") private com.google.protobuf.Internal.LongList collectionIds_ = emptyLongList(); /** *
   * Collection Id array
   * 
* * repeated int64 collection_ids = 3; * @return A list containing the collectionIds. */ @java.lang.Override public java.util.List getCollectionIdsList() { return collectionIds_; } /** *
   * Collection Id array
   * 
* * repeated int64 collection_ids = 3; * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** *
   * Collection Id array
   * 
* * repeated int64 collection_ids = 3; * @param index The index of the element to return. * @return The collectionIds at the given index. */ public long getCollectionIds(int index) { return collectionIds_.getLong(index); } private int collectionIdsMemoizedSerializedSize = -1; public static final int CREATED_TIMESTAMPS_FIELD_NUMBER = 4; @SuppressWarnings("serial") private com.google.protobuf.Internal.LongList createdTimestamps_ = emptyLongList(); /** *
   * Hybrid timestamps in milvus
   * 
* * repeated uint64 created_timestamps = 4; * @return A list containing the createdTimestamps. */ @java.lang.Override public java.util.List getCreatedTimestampsList() { return createdTimestamps_; } /** *
   * Hybrid timestamps in milvus
   * 
* * repeated uint64 created_timestamps = 4; * @return The count of createdTimestamps. */ public int getCreatedTimestampsCount() { return createdTimestamps_.size(); } /** *
   * Hybrid timestamps in milvus
   * 
* * 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(); /** *
   * The utc timestamp calculated by created_timestamp
   * 
* * repeated uint64 created_utc_timestamps = 5; * @return A list containing the createdUtcTimestamps. */ @java.lang.Override public java.util.List getCreatedUtcTimestampsList() { return createdUtcTimestamps_; } /** *
   * The utc timestamp calculated by created_timestamp
   * 
* * repeated uint64 created_utc_timestamps = 5; * @return The count of createdUtcTimestamps. */ public int getCreatedUtcTimestampsCount() { return createdUtcTimestamps_.size(); } /** *
   * The utc timestamp calculated by created_timestamp
   * 
* * 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 when type is InMemory
   * Deprecated: use GetLoadingProgress rpc instead
   * 
* * repeated int64 inMemory_percentages = 6 [deprecated = true]; * @deprecated milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. * See milvus.proto;l=501 * @return A list containing the inMemoryPercentages. */ @java.lang.Override @java.lang.Deprecated public java.util.List getInMemoryPercentagesList() { return inMemoryPercentages_; } /** *
   * Load percentage on querynode when type is InMemory
   * Deprecated: use GetLoadingProgress rpc instead
   * 
* * repeated int64 inMemory_percentages = 6 [deprecated = true]; * @deprecated milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. * See milvus.proto;l=501 * @return The count of inMemoryPercentages. */ @java.lang.Deprecated public int getInMemoryPercentagesCount() { return inMemoryPercentages_.size(); } /** *
   * Load percentage on querynode when type is InMemory
   * Deprecated: use GetLoadingProgress rpc instead
   * 
* * repeated int64 inMemory_percentages = 6 [deprecated = true]; * @deprecated milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. * See milvus.proto;l=501 * @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; public static final int QUERY_SERVICE_AVAILABLE_FIELD_NUMBER = 7; @SuppressWarnings("serial") private com.google.protobuf.Internal.BooleanList queryServiceAvailable_ = emptyBooleanList(); /** *
   * Indicate whether query service is available
   * 
* * repeated bool query_service_available = 7; * @return A list containing the queryServiceAvailable. */ @java.lang.Override public java.util.List getQueryServiceAvailableList() { return queryServiceAvailable_; } /** *
   * Indicate whether query service is available
   * 
* * repeated bool query_service_available = 7; * @return The count of queryServiceAvailable. */ public int getQueryServiceAvailableCount() { return queryServiceAvailable_.size(); } /** *
   * Indicate whether query service is available
   * 
* * repeated bool query_service_available = 7; * @param index The index of the element to return. * @return The queryServiceAvailable at the given index. */ public boolean getQueryServiceAvailable(int index) { return queryServiceAvailable_.getBoolean(index); } private int queryServiceAvailableMemoizedSerializedSize = -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 < collectionNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, collectionNames_.getRaw(i)); } if (getCollectionIdsList().size() > 0) { output.writeUInt32NoTag(26); output.writeUInt32NoTag(collectionIdsMemoizedSerializedSize); } for (int i = 0; i < collectionIds_.size(); i++) { output.writeInt64NoTag(collectionIds_.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)); } if (getQueryServiceAvailableList().size() > 0) { output.writeUInt32NoTag(58); output.writeUInt32NoTag(queryServiceAvailableMemoizedSerializedSize); } for (int i = 0; i < queryServiceAvailable_.size(); i++) { output.writeBoolNoTag(queryServiceAvailable_.getBoolean(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 < collectionNames_.size(); i++) { dataSize += computeStringSizeNoTag(collectionNames_.getRaw(i)); } size += dataSize; size += 1 * getCollectionNamesList().size(); } { int dataSize = 0; for (int i = 0; i < collectionIds_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(collectionIds_.getLong(i)); } size += dataSize; if (!getCollectionIdsList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } collectionIdsMemoizedSerializedSize = 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; } { int dataSize = 0; dataSize = 1 * getQueryServiceAvailableList().size(); size += dataSize; if (!getQueryServiceAvailableList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } queryServiceAvailableMemoizedSerializedSize = 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.ShowCollectionsResponse)) { return super.equals(obj); } io.milvus.grpc.ShowCollectionsResponse other = (io.milvus.grpc.ShowCollectionsResponse) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (!getCollectionNamesList() .equals(other.getCollectionNamesList())) return false; if (!getCollectionIdsList() .equals(other.getCollectionIdsList())) return false; if (!getCreatedTimestampsList() .equals(other.getCreatedTimestampsList())) return false; if (!getCreatedUtcTimestampsList() .equals(other.getCreatedUtcTimestampsList())) return false; if (!getInMemoryPercentagesList() .equals(other.getInMemoryPercentagesList())) return false; if (!getQueryServiceAvailableList() .equals(other.getQueryServiceAvailableList())) 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 (getCollectionNamesCount() > 0) { hash = (37 * hash) + COLLECTION_NAMES_FIELD_NUMBER; hash = (53 * hash) + getCollectionNamesList().hashCode(); } if (getCollectionIdsCount() > 0) { hash = (37 * hash) + COLLECTION_IDS_FIELD_NUMBER; hash = (53 * hash) + getCollectionIdsList().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(); } if (getQueryServiceAvailableCount() > 0) { hash = (37 * hash) + QUERY_SERVICE_AVAILABLE_FIELD_NUMBER; hash = (53 * hash) + getQueryServiceAvailableList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.milvus.grpc.ShowCollectionsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.milvus.grpc.ShowCollectionsResponse 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.ShowCollectionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.milvus.grpc.ShowCollectionsResponse 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.ShowCollectionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.milvus.grpc.ShowCollectionsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.milvus.grpc.ShowCollectionsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.milvus.grpc.ShowCollectionsResponse 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.ShowCollectionsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.milvus.grpc.ShowCollectionsResponse 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.ShowCollectionsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.milvus.grpc.ShowCollectionsResponse 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.ShowCollectionsResponse 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; } /** *
   *
   * Return basic collection infos.
   * 
* * Protobuf type {@code milvus.proto.milvus.ShowCollectionsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:milvus.proto.milvus.ShowCollectionsResponse) io.milvus.grpc.ShowCollectionsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.milvus.grpc.MilvusProto.internal_static_milvus_proto_milvus_ShowCollectionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.milvus.grpc.MilvusProto.internal_static_milvus_proto_milvus_ShowCollectionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( io.milvus.grpc.ShowCollectionsResponse.class, io.milvus.grpc.ShowCollectionsResponse.Builder.class); } // Construct using io.milvus.grpc.ShowCollectionsResponse.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; } collectionNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); collectionIds_ = emptyLongList(); createdTimestamps_ = emptyLongList(); createdUtcTimestamps_ = emptyLongList(); inMemoryPercentages_ = emptyLongList(); queryServiceAvailable_ = emptyBooleanList(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.milvus.grpc.MilvusProto.internal_static_milvus_proto_milvus_ShowCollectionsResponse_descriptor; } @java.lang.Override public io.milvus.grpc.ShowCollectionsResponse getDefaultInstanceForType() { return io.milvus.grpc.ShowCollectionsResponse.getDefaultInstance(); } @java.lang.Override public io.milvus.grpc.ShowCollectionsResponse build() { io.milvus.grpc.ShowCollectionsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.milvus.grpc.ShowCollectionsResponse buildPartial() { io.milvus.grpc.ShowCollectionsResponse result = new io.milvus.grpc.ShowCollectionsResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.milvus.grpc.ShowCollectionsResponse 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)) { collectionNames_.makeImmutable(); result.collectionNames_ = collectionNames_; } if (((from_bitField0_ & 0x00000004) != 0)) { collectionIds_.makeImmutable(); result.collectionIds_ = collectionIds_; } 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_; } if (((from_bitField0_ & 0x00000040) != 0)) { queryServiceAvailable_.makeImmutable(); result.queryServiceAvailable_ = queryServiceAvailable_; } 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.ShowCollectionsResponse) { return mergeFrom((io.milvus.grpc.ShowCollectionsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.milvus.grpc.ShowCollectionsResponse other) { if (other == io.milvus.grpc.ShowCollectionsResponse.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } if (!other.collectionNames_.isEmpty()) { if (collectionNames_.isEmpty()) { collectionNames_ = other.collectionNames_; bitField0_ |= 0x00000002; } else { ensureCollectionNamesIsMutable(); collectionNames_.addAll(other.collectionNames_); } onChanged(); } if (!other.collectionIds_.isEmpty()) { if (collectionIds_.isEmpty()) { collectionIds_ = other.collectionIds_; collectionIds_.makeImmutable(); bitField0_ |= 0x00000004; } else { ensureCollectionIdsIsMutable(); collectionIds_.addAll(other.collectionIds_); } 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(); } if (!other.queryServiceAvailable_.isEmpty()) { if (queryServiceAvailable_.isEmpty()) { queryServiceAvailable_ = other.queryServiceAvailable_; queryServiceAvailable_.makeImmutable(); bitField0_ |= 0x00000040; } else { ensureQueryServiceAvailableIsMutable(); queryServiceAvailable_.addAll(other.queryServiceAvailable_); } 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(); ensureCollectionNamesIsMutable(); collectionNames_.add(s); break; } // case 18 case 24: { long v = input.readInt64(); ensureCollectionIdsIsMutable(); collectionIds_.addLong(v); break; } // case 24 case 26: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); ensureCollectionIdsIsMutable(); while (input.getBytesUntilLimit() > 0) { collectionIds_.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 case 56: { boolean v = input.readBool(); ensureQueryServiceAvailableIsMutable(); queryServiceAvailable_.addBoolean(v); break; } // case 56 case 58: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); int alloc = length > 4096 ? 4096 : length; ensureQueryServiceAvailableIsMutable(alloc / 1); while (input.getBytesUntilLimit() > 0) { queryServiceAvailable_.addBoolean(input.readBool()); } input.popLimit(limit); break; } // case 58 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 collectionNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureCollectionNamesIsMutable() { if (!collectionNames_.isModifiable()) { collectionNames_ = new com.google.protobuf.LazyStringArrayList(collectionNames_); } bitField0_ |= 0x00000002; } /** *
     * Collection name array
     * 
* * repeated string collection_names = 2; * @return A list containing the collectionNames. */ public com.google.protobuf.ProtocolStringList getCollectionNamesList() { collectionNames_.makeImmutable(); return collectionNames_; } /** *
     * Collection name array
     * 
* * repeated string collection_names = 2; * @return The count of collectionNames. */ public int getCollectionNamesCount() { return collectionNames_.size(); } /** *
     * Collection name array
     * 
* * repeated string collection_names = 2; * @param index The index of the element to return. * @return The collectionNames at the given index. */ public java.lang.String getCollectionNames(int index) { return collectionNames_.get(index); } /** *
     * Collection name array
     * 
* * repeated string collection_names = 2; * @param index The index of the value to return. * @return The bytes of the collectionNames at the given index. */ public com.google.protobuf.ByteString getCollectionNamesBytes(int index) { return collectionNames_.getByteString(index); } /** *
     * Collection name array
     * 
* * repeated string collection_names = 2; * @param index The index to set the value at. * @param value The collectionNames to set. * @return This builder for chaining. */ public Builder setCollectionNames( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCollectionNamesIsMutable(); collectionNames_.set(index, value); bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Collection name array
     * 
* * repeated string collection_names = 2; * @param value The collectionNames to add. * @return This builder for chaining. */ public Builder addCollectionNames( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureCollectionNamesIsMutable(); collectionNames_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Collection name array
     * 
* * repeated string collection_names = 2; * @param values The collectionNames to add. * @return This builder for chaining. */ public Builder addAllCollectionNames( java.lang.Iterable values) { ensureCollectionNamesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, collectionNames_); bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Collection name array
     * 
* * repeated string collection_names = 2; * @return This builder for chaining. */ public Builder clearCollectionNames() { collectionNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** *
     * Collection name array
     * 
* * repeated string collection_names = 2; * @param value The bytes of the collectionNames to add. * @return This builder for chaining. */ public Builder addCollectionNamesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureCollectionNamesIsMutable(); collectionNames_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } private com.google.protobuf.Internal.LongList collectionIds_ = emptyLongList(); private void ensureCollectionIdsIsMutable() { if (!collectionIds_.isModifiable()) { collectionIds_ = makeMutableCopy(collectionIds_); } bitField0_ |= 0x00000004; } /** *
     * Collection Id array
     * 
* * repeated int64 collection_ids = 3; * @return A list containing the collectionIds. */ public java.util.List getCollectionIdsList() { collectionIds_.makeImmutable(); return collectionIds_; } /** *
     * Collection Id array
     * 
* * repeated int64 collection_ids = 3; * @return The count of collectionIds. */ public int getCollectionIdsCount() { return collectionIds_.size(); } /** *
     * Collection Id array
     * 
* * repeated int64 collection_ids = 3; * @param index The index of the element to return. * @return The collectionIds at the given index. */ public long getCollectionIds(int index) { return collectionIds_.getLong(index); } /** *
     * Collection Id array
     * 
* * repeated int64 collection_ids = 3; * @param index The index to set the value at. * @param value The collectionIds to set. * @return This builder for chaining. */ public Builder setCollectionIds( int index, long value) { ensureCollectionIdsIsMutable(); collectionIds_.setLong(index, value); bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Collection Id array
     * 
* * repeated int64 collection_ids = 3; * @param value The collectionIds to add. * @return This builder for chaining. */ public Builder addCollectionIds(long value) { ensureCollectionIdsIsMutable(); collectionIds_.addLong(value); bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Collection Id array
     * 
* * repeated int64 collection_ids = 3; * @param values The collectionIds to add. * @return This builder for chaining. */ public Builder addAllCollectionIds( java.lang.Iterable values) { ensureCollectionIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, collectionIds_); bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Collection Id array
     * 
* * repeated int64 collection_ids = 3; * @return This builder for chaining. */ public Builder clearCollectionIds() { collectionIds_ = 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; } /** *
     * Hybrid timestamps in milvus
     * 
* * repeated uint64 created_timestamps = 4; * @return A list containing the createdTimestamps. */ public java.util.List getCreatedTimestampsList() { createdTimestamps_.makeImmutable(); return createdTimestamps_; } /** *
     * Hybrid timestamps in milvus
     * 
* * repeated uint64 created_timestamps = 4; * @return The count of createdTimestamps. */ public int getCreatedTimestampsCount() { return createdTimestamps_.size(); } /** *
     * Hybrid timestamps in milvus
     * 
* * 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); } /** *
     * Hybrid timestamps in milvus
     * 
* * 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; } /** *
     * Hybrid timestamps in milvus
     * 
* * 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; } /** *
     * Hybrid timestamps in milvus
     * 
* * repeated uint64 created_timestamps = 4; * @param values The createdTimestamps to add. * @return This builder for chaining. */ public Builder addAllCreatedTimestamps( java.lang.Iterable values) { ensureCreatedTimestampsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, createdTimestamps_); bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Hybrid timestamps in milvus
     * 
* * 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; } /** *
     * The utc timestamp calculated by created_timestamp
     * 
* * repeated uint64 created_utc_timestamps = 5; * @return A list containing the createdUtcTimestamps. */ public java.util.List getCreatedUtcTimestampsList() { createdUtcTimestamps_.makeImmutable(); return createdUtcTimestamps_; } /** *
     * The utc timestamp calculated by created_timestamp
     * 
* * repeated uint64 created_utc_timestamps = 5; * @return The count of createdUtcTimestamps. */ public int getCreatedUtcTimestampsCount() { return createdUtcTimestamps_.size(); } /** *
     * The utc timestamp calculated by created_timestamp
     * 
* * 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); } /** *
     * The utc timestamp calculated by created_timestamp
     * 
* * 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; } /** *
     * The utc timestamp calculated by created_timestamp
     * 
* * 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; } /** *
     * The utc timestamp calculated by created_timestamp
     * 
* * repeated uint64 created_utc_timestamps = 5; * @param values The createdUtcTimestamps to add. * @return This builder for chaining. */ public Builder addAllCreatedUtcTimestamps( java.lang.Iterable values) { ensureCreatedUtcTimestampsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, createdUtcTimestamps_); bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * The utc timestamp calculated by created_timestamp
     * 
* * 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 when type is InMemory
     * Deprecated: use GetLoadingProgress rpc instead
     * 
* * repeated int64 inMemory_percentages = 6 [deprecated = true]; * @deprecated milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. * See milvus.proto;l=501 * @return A list containing the inMemoryPercentages. */ @java.lang.Deprecated public java.util.List getInMemoryPercentagesList() { inMemoryPercentages_.makeImmutable(); return inMemoryPercentages_; } /** *
     * Load percentage on querynode when type is InMemory
     * Deprecated: use GetLoadingProgress rpc instead
     * 
* * repeated int64 inMemory_percentages = 6 [deprecated = true]; * @deprecated milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. * See milvus.proto;l=501 * @return The count of inMemoryPercentages. */ @java.lang.Deprecated public int getInMemoryPercentagesCount() { return inMemoryPercentages_.size(); } /** *
     * Load percentage on querynode when type is InMemory
     * Deprecated: use GetLoadingProgress rpc instead
     * 
* * repeated int64 inMemory_percentages = 6 [deprecated = true]; * @deprecated milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. * See milvus.proto;l=501 * @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 when type is InMemory
     * Deprecated: use GetLoadingProgress rpc instead
     * 
* * repeated int64 inMemory_percentages = 6 [deprecated = true]; * @deprecated milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. * See milvus.proto;l=501 * @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 when type is InMemory
     * Deprecated: use GetLoadingProgress rpc instead
     * 
* * repeated int64 inMemory_percentages = 6 [deprecated = true]; * @deprecated milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. * See milvus.proto;l=501 * @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 when type is InMemory
     * Deprecated: use GetLoadingProgress rpc instead
     * 
* * repeated int64 inMemory_percentages = 6 [deprecated = true]; * @deprecated milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. * See milvus.proto;l=501 * @param values The inMemoryPercentages to add. * @return This builder for chaining. */ @java.lang.Deprecated public Builder addAllInMemoryPercentages( java.lang.Iterable values) { ensureInMemoryPercentagesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, inMemoryPercentages_); bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     * Load percentage on querynode when type is InMemory
     * Deprecated: use GetLoadingProgress rpc instead
     * 
* * repeated int64 inMemory_percentages = 6 [deprecated = true]; * @deprecated milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. * See milvus.proto;l=501 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearInMemoryPercentages() { inMemoryPercentages_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } private com.google.protobuf.Internal.BooleanList queryServiceAvailable_ = emptyBooleanList(); private void ensureQueryServiceAvailableIsMutable() { if (!queryServiceAvailable_.isModifiable()) { queryServiceAvailable_ = makeMutableCopy(queryServiceAvailable_); } bitField0_ |= 0x00000040; } private void ensureQueryServiceAvailableIsMutable(int capacity) { if (!queryServiceAvailable_.isModifiable()) { queryServiceAvailable_ = makeMutableCopy(queryServiceAvailable_, capacity); } bitField0_ |= 0x00000040; } /** *
     * Indicate whether query service is available
     * 
* * repeated bool query_service_available = 7; * @return A list containing the queryServiceAvailable. */ public java.util.List getQueryServiceAvailableList() { queryServiceAvailable_.makeImmutable(); return queryServiceAvailable_; } /** *
     * Indicate whether query service is available
     * 
* * repeated bool query_service_available = 7; * @return The count of queryServiceAvailable. */ public int getQueryServiceAvailableCount() { return queryServiceAvailable_.size(); } /** *
     * Indicate whether query service is available
     * 
* * repeated bool query_service_available = 7; * @param index The index of the element to return. * @return The queryServiceAvailable at the given index. */ public boolean getQueryServiceAvailable(int index) { return queryServiceAvailable_.getBoolean(index); } /** *
     * Indicate whether query service is available
     * 
* * repeated bool query_service_available = 7; * @param index The index to set the value at. * @param value The queryServiceAvailable to set. * @return This builder for chaining. */ public Builder setQueryServiceAvailable( int index, boolean value) { ensureQueryServiceAvailableIsMutable(); queryServiceAvailable_.setBoolean(index, value); bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * Indicate whether query service is available
     * 
* * repeated bool query_service_available = 7; * @param value The queryServiceAvailable to add. * @return This builder for chaining. */ public Builder addQueryServiceAvailable(boolean value) { ensureQueryServiceAvailableIsMutable(); queryServiceAvailable_.addBoolean(value); bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * Indicate whether query service is available
     * 
* * repeated bool query_service_available = 7; * @param values The queryServiceAvailable to add. * @return This builder for chaining. */ public Builder addAllQueryServiceAvailable( java.lang.Iterable values) { ensureQueryServiceAvailableIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, queryServiceAvailable_); bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * Indicate whether query service is available
     * 
* * repeated bool query_service_available = 7; * @return This builder for chaining. */ public Builder clearQueryServiceAvailable() { queryServiceAvailable_ = emptyBooleanList(); bitField0_ = (bitField0_ & ~0x00000040); 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.ShowCollectionsResponse) } // @@protoc_insertion_point(class_scope:milvus.proto.milvus.ShowCollectionsResponse) private static final io.milvus.grpc.ShowCollectionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.milvus.grpc.ShowCollectionsResponse(); } public static io.milvus.grpc.ShowCollectionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ShowCollectionsResponse 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.ShowCollectionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy