Package io.milvus.grpc
Class ShowPartitionsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ShowPartitionsResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsResponse.Builder>
io.milvus.grpc.ShowPartitionsResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ShowPartitionsResponseOrBuilder,Cloneable
- Enclosing class:
ShowPartitionsResponse
public static final class ShowPartitionsResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsResponse.Builder>
implements ShowPartitionsResponseOrBuilder
List all partitions for particular collection response. The returned datas are all rows, we can format to columns by therir index.Protobuf type
milvus.proto.milvus.ShowPartitionsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllCreatedTimestamps(Iterable<? extends Long> values) All hybrid timestampsaddAllCreatedUtcTimestamps(Iterable<? extends Long> values) All utc timestamps calculated by created_timestampsaddAllInMemoryPercentages(Iterable<? extends Long> values) Deprecated.milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated.addAllPartitionIDs(Iterable<? extends Long> values) All partition ids for this collectionaddAllPartitionNames(Iterable<String> values) All partition names for this collectionaddCreatedTimestamps(long value) All hybrid timestampsaddCreatedUtcTimestamps(long value) All utc timestamps calculated by created_timestampsaddInMemoryPercentages(long value) Deprecated.milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated.addPartitionIDs(long value) All partition ids for this collectionaddPartitionNames(String value) All partition names for this collectionaddPartitionNamesBytes(com.google.protobuf.ByteString value) All partition names for this collectionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()All hybrid timestampsAll utc timestamps calculated by created_timestampsclearField(com.google.protobuf.Descriptors.FieldDescriptor field) Deprecated.milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) All partition ids for this collectionAll partition names for this collectionContain error_code and reasonclone()longgetCreatedTimestamps(int index) All hybrid timestampsintAll hybrid timestampsAll hybrid timestampslonggetCreatedUtcTimestamps(int index) All utc timestamps calculated by created_timestampsintAll utc timestamps calculated by created_timestampsAll utc timestamps calculated by created_timestampsstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlonggetInMemoryPercentages(int index) Deprecated.milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated.intDeprecated.milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated.Deprecated.milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated.longgetPartitionIDs(int index) All partition ids for this collectionintAll partition ids for this collectionAll partition ids for this collectiongetPartitionNames(int index) All partition names for this collectioncom.google.protobuf.ByteStringgetPartitionNamesBytes(int index) All partition names for this collectionintAll partition names for this collectioncom.google.protobuf.ProtocolStringListAll partition names for this collectionContain error_code and reasonContain error_code and reasonContain error_code and reasonbooleanContain error_code and reasonprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(ShowPartitionsResponse other) mergeStatus(Status value) Contain error_code and reasonmergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setCreatedTimestamps(int index, long value) All hybrid timestampssetCreatedUtcTimestamps(int index, long value) All utc timestamps calculated by created_timestampssetInMemoryPercentages(int index, long value) Deprecated.milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated.setPartitionIDs(int index, long value) All partition ids for this collectionsetPartitionNames(int index, String value) All partition names for this collectionsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Contain error_code and reasonsetStatus(Status.Builder builderForValue) Contain error_code and reasonsetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsResponse.Builder>
-
setField
public ShowPartitionsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsResponse.Builder>
-
clearField
public ShowPartitionsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsResponse.Builder>
-
clearOneof
public ShowPartitionsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsResponse.Builder>
-
setRepeatedField
public ShowPartitionsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsResponse.Builder>
-
addRepeatedField
public ShowPartitionsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ShowPartitionsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsResponse.Builder>
-
mergeFrom
public ShowPartitionsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ShowPartitionsResponse.Builder>- Throws:
IOException
-
hasStatus
public boolean hasStatus()Contain error_code and reason
.milvus.proto.common.Status status = 1;- Specified by:
hasStatusin interfaceShowPartitionsResponseOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Contain error_code and reason
.milvus.proto.common.Status status = 1;- Specified by:
getStatusin interfaceShowPartitionsResponseOrBuilder- Returns:
- The status.
-
setStatus
Contain error_code and reason
.milvus.proto.common.Status status = 1; -
setStatus
Contain error_code and reason
.milvus.proto.common.Status status = 1; -
mergeStatus
Contain error_code and reason
.milvus.proto.common.Status status = 1; -
clearStatus
Contain error_code and reason
.milvus.proto.common.Status status = 1; -
getStatusBuilder
Contain error_code and reason
.milvus.proto.common.Status status = 1; -
getStatusOrBuilder
Contain error_code and reason
.milvus.proto.common.Status status = 1;- Specified by:
getStatusOrBuilderin interfaceShowPartitionsResponseOrBuilder
-
getPartitionNamesList
public com.google.protobuf.ProtocolStringList getPartitionNamesList()All partition names for this collection
repeated string partition_names = 2;- Specified by:
getPartitionNamesListin interfaceShowPartitionsResponseOrBuilder- Returns:
- A list containing the partitionNames.
-
getPartitionNamesCount
public int getPartitionNamesCount()All partition names for this collection
repeated string partition_names = 2;- Specified by:
getPartitionNamesCountin interfaceShowPartitionsResponseOrBuilder- Returns:
- The count of partitionNames.
-
getPartitionNames
All partition names for this collection
repeated string partition_names = 2;- Specified by:
getPartitionNamesin interfaceShowPartitionsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The partitionNames at the given index.
-
getPartitionNamesBytes
public com.google.protobuf.ByteString getPartitionNamesBytes(int index) All partition names for this collection
repeated string partition_names = 2;- Specified by:
getPartitionNamesBytesin interfaceShowPartitionsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the partitionNames at the given index.
-
setPartitionNames
All partition names for this collection
repeated string partition_names = 2;- Parameters:
index- The index to set the value at.value- The partitionNames to set.- Returns:
- This builder for chaining.
-
addPartitionNames
All partition names for this collection
repeated string partition_names = 2;- Parameters:
value- The partitionNames to add.- Returns:
- This builder for chaining.
-
addAllPartitionNames
All partition names for this collection
repeated string partition_names = 2;- Parameters:
values- The partitionNames to add.- Returns:
- This builder for chaining.
-
clearPartitionNames
All partition names for this collection
repeated string partition_names = 2;- Returns:
- This builder for chaining.
-
addPartitionNamesBytes
All partition names for this collection
repeated string partition_names = 2;- Parameters:
value- The bytes of the partitionNames to add.- Returns:
- This builder for chaining.
-
getPartitionIDsList
All partition ids for this collection
repeated int64 partitionIDs = 3;- Specified by:
getPartitionIDsListin interfaceShowPartitionsResponseOrBuilder- Returns:
- A list containing the partitionIDs.
-
getPartitionIDsCount
public int getPartitionIDsCount()All partition ids for this collection
repeated int64 partitionIDs = 3;- Specified by:
getPartitionIDsCountin interfaceShowPartitionsResponseOrBuilder- Returns:
- The count of partitionIDs.
-
getPartitionIDs
public long getPartitionIDs(int index) All partition ids for this collection
repeated int64 partitionIDs = 3;- Specified by:
getPartitionIDsin interfaceShowPartitionsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The partitionIDs at the given index.
-
setPartitionIDs
All partition ids for this collection
repeated int64 partitionIDs = 3;- Parameters:
index- The index to set the value at.value- The partitionIDs to set.- Returns:
- This builder for chaining.
-
addPartitionIDs
All partition ids for this collection
repeated int64 partitionIDs = 3;- Parameters:
value- The partitionIDs to add.- Returns:
- This builder for chaining.
-
addAllPartitionIDs
All partition ids for this collection
repeated int64 partitionIDs = 3;- Parameters:
values- The partitionIDs to add.- Returns:
- This builder for chaining.
-
clearPartitionIDs
All partition ids for this collection
repeated int64 partitionIDs = 3;- Returns:
- This builder for chaining.
-
getCreatedTimestampsList
All hybrid timestamps
repeated uint64 created_timestamps = 4;- Specified by:
getCreatedTimestampsListin interfaceShowPartitionsResponseOrBuilder- Returns:
- A list containing the createdTimestamps.
-
getCreatedTimestampsCount
public int getCreatedTimestampsCount()All hybrid timestamps
repeated uint64 created_timestamps = 4;- Specified by:
getCreatedTimestampsCountin interfaceShowPartitionsResponseOrBuilder- Returns:
- The count of createdTimestamps.
-
getCreatedTimestamps
public long getCreatedTimestamps(int index) All hybrid timestamps
repeated uint64 created_timestamps = 4;- Specified by:
getCreatedTimestampsin interfaceShowPartitionsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The createdTimestamps at the given index.
-
setCreatedTimestamps
All hybrid timestamps
repeated uint64 created_timestamps = 4;- Parameters:
index- The index to set the value at.value- The createdTimestamps to set.- Returns:
- This builder for chaining.
-
addCreatedTimestamps
All hybrid timestamps
repeated uint64 created_timestamps = 4;- Parameters:
value- The createdTimestamps to add.- Returns:
- This builder for chaining.
-
addAllCreatedTimestamps
All hybrid timestamps
repeated uint64 created_timestamps = 4;- Parameters:
values- The createdTimestamps to add.- Returns:
- This builder for chaining.
-
clearCreatedTimestamps
All hybrid timestamps
repeated uint64 created_timestamps = 4;- Returns:
- This builder for chaining.
-
getCreatedUtcTimestampsList
All utc timestamps calculated by created_timestamps
repeated uint64 created_utc_timestamps = 5;- Specified by:
getCreatedUtcTimestampsListin interfaceShowPartitionsResponseOrBuilder- Returns:
- A list containing the createdUtcTimestamps.
-
getCreatedUtcTimestampsCount
public int getCreatedUtcTimestampsCount()All utc timestamps calculated by created_timestamps
repeated uint64 created_utc_timestamps = 5;- Specified by:
getCreatedUtcTimestampsCountin interfaceShowPartitionsResponseOrBuilder- Returns:
- The count of createdUtcTimestamps.
-
getCreatedUtcTimestamps
public long getCreatedUtcTimestamps(int index) All utc timestamps calculated by created_timestamps
repeated uint64 created_utc_timestamps = 5;- Specified by:
getCreatedUtcTimestampsin interfaceShowPartitionsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The createdUtcTimestamps at the given index.
-
setCreatedUtcTimestamps
All utc timestamps calculated by created_timestamps
repeated uint64 created_utc_timestamps = 5;- Parameters:
index- The index to set the value at.value- The createdUtcTimestamps to set.- Returns:
- This builder for chaining.
-
addCreatedUtcTimestamps
All utc timestamps calculated by created_timestamps
repeated uint64 created_utc_timestamps = 5;- Parameters:
value- The createdUtcTimestamps to add.- Returns:
- This builder for chaining.
-
addAllCreatedUtcTimestamps
All utc timestamps calculated by created_timestamps
repeated uint64 created_utc_timestamps = 5;- Parameters:
values- The createdUtcTimestamps to add.- Returns:
- This builder for chaining.
-
clearCreatedUtcTimestamps
All utc timestamps calculated by created_timestamps
repeated uint64 created_utc_timestamps = 5;- Returns:
- This builder for chaining.
-
getInMemoryPercentagesList
Deprecated.milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=695Load percentage on querynode Deprecated: use GetLoadingProgress rpc instead
repeated int64 inMemory_percentages = 6 [deprecated = true];- Specified by:
getInMemoryPercentagesListin interfaceShowPartitionsResponseOrBuilder- Returns:
- A list containing the inMemoryPercentages.
-
getInMemoryPercentagesCount
Deprecated.milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=695Load percentage on querynode Deprecated: use GetLoadingProgress rpc instead
repeated int64 inMemory_percentages = 6 [deprecated = true];- Specified by:
getInMemoryPercentagesCountin interfaceShowPartitionsResponseOrBuilder- Returns:
- The count of inMemoryPercentages.
-
getInMemoryPercentages
Deprecated.milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=695Load percentage on querynode Deprecated: use GetLoadingProgress rpc instead
repeated int64 inMemory_percentages = 6 [deprecated = true];- Specified by:
getInMemoryPercentagesin interfaceShowPartitionsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The inMemoryPercentages at the given index.
-
setInMemoryPercentages
Deprecated.milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=695Load percentage on querynode Deprecated: use GetLoadingProgress rpc instead
repeated int64 inMemory_percentages = 6 [deprecated = true];- Parameters:
index- The index to set the value at.value- The inMemoryPercentages to set.- Returns:
- This builder for chaining.
-
addInMemoryPercentages
Deprecated.milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=695Load percentage on querynode Deprecated: use GetLoadingProgress rpc instead
repeated int64 inMemory_percentages = 6 [deprecated = true];- Parameters:
value- The inMemoryPercentages to add.- Returns:
- This builder for chaining.
-
addAllInMemoryPercentages
@Deprecated public ShowPartitionsResponse.Builder addAllInMemoryPercentages(Iterable<? extends Long> values) Deprecated.milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=695Load percentage on querynode Deprecated: use GetLoadingProgress rpc instead
repeated int64 inMemory_percentages = 6 [deprecated = true];- Parameters:
values- The inMemoryPercentages to add.- Returns:
- This builder for chaining.
-
clearInMemoryPercentages
Deprecated.milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=695Load percentage on querynode Deprecated: use GetLoadingProgress rpc instead
repeated int64 inMemory_percentages = 6 [deprecated = true];- Returns:
- This builder for chaining.
-
setUnknownFields
public final ShowPartitionsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsResponse.Builder>
-
mergeUnknownFields
public final ShowPartitionsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsResponse.Builder>
-