Package io.milvus.grpc
Class FlushResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<FlushResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<FlushResponse.Builder>
io.milvus.grpc.FlushResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,FlushResponseOrBuilder,Cloneable
- Enclosing class:
FlushResponse
public static final class FlushResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<FlushResponse.Builder>
implements FlushResponseOrBuilder
Protobuf type
milvus.proto.milvus.FlushResponse-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()string db_name = 2;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) .milvus.proto.common.Status status = 1;clone()booleancontainsChannelCps(String key) map<string, .milvus.proto.msg.MsgPosition> channel_cps = 7;booleanhybrid ts for geting flush tatebooleanphysical time for backup toolbooleancontainsCollSegIDs(String key) map<string, .milvus.proto.schema.LongArray> coll_segIDs = 3;booleanmap<string, .milvus.proto.schema.LongArray> flush_coll_segIDs = 4;Deprecated.intmap<string, .milvus.proto.msg.MsgPosition> channel_cps = 7;map<string, .milvus.proto.msg.MsgPosition> channel_cps = 7;getChannelCpsOrDefault(String key, Msg.MsgPosition defaultValue) map<string, .milvus.proto.msg.MsgPosition> channel_cps = 7;map<string, .milvus.proto.msg.MsgPosition> channel_cps = 7;Deprecated.inthybrid ts for geting flush tatehybrid ts for geting flush tatelonggetCollFlushTsOrDefault(String key, long defaultValue) hybrid ts for geting flush tatelonghybrid ts for geting flush tateDeprecated.intphysical time for backup toolphysical time for backup toollonggetCollSealTimesOrDefault(String key, long defaultValue) physical time for backup toollongphysical time for backup toolDeprecated.intmap<string, .milvus.proto.schema.LongArray> coll_segIDs = 3;map<string, .milvus.proto.schema.LongArray> coll_segIDs = 3;getCollSegIDsOrDefault(String key, LongArray defaultValue) map<string, .milvus.proto.schema.LongArray> coll_segIDs = 3;map<string, .milvus.proto.schema.LongArray> coll_segIDs = 3;string db_name = 2;com.google.protobuf.ByteStringstring db_name = 2;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intmap<string, .milvus.proto.schema.LongArray> flush_coll_segIDs = 4;map<string, .milvus.proto.schema.LongArray> flush_coll_segIDs = 4;getFlushCollSegIDsOrDefault(String key, LongArray defaultValue) map<string, .milvus.proto.schema.LongArray> flush_coll_segIDs = 4;map<string, .milvus.proto.schema.LongArray> flush_coll_segIDs = 4;Deprecated.Deprecated.Deprecated.Deprecated.Deprecated..milvus.proto.common.Status status = 1;.milvus.proto.common.Status status = 1;.milvus.proto.common.Status status = 1;boolean.milvus.proto.common.Status status = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(FlushResponse other) mergeStatus(Status value) .milvus.proto.common.Status status = 1;final FlushResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllChannelCps(Map<String, Msg.MsgPosition> values) map<string, .milvus.proto.msg.MsgPosition> channel_cps = 7;putAllCollFlushTs(Map<String, Long> values) hybrid ts for geting flush tateputAllCollSealTimes(Map<String, Long> values) physical time for backup toolputAllCollSegIDs(Map<String, LongArray> values) map<string, .milvus.proto.schema.LongArray> coll_segIDs = 3;putAllFlushCollSegIDs(Map<String, LongArray> values) map<string, .milvus.proto.schema.LongArray> flush_coll_segIDs = 4;putChannelCps(String key, Msg.MsgPosition value) map<string, .milvus.proto.msg.MsgPosition> channel_cps = 7;map<string, .milvus.proto.msg.MsgPosition> channel_cps = 7;putCollFlushTs(String key, long value) hybrid ts for geting flush tateputCollSealTimes(String key, long value) physical time for backup toolputCollSegIDs(String key, LongArray value) map<string, .milvus.proto.schema.LongArray> coll_segIDs = 3;map<string, .milvus.proto.schema.LongArray> coll_segIDs = 3;putFlushCollSegIDs(String key, LongArray value) map<string, .milvus.proto.schema.LongArray> flush_coll_segIDs = 4;map<string, .milvus.proto.schema.LongArray> flush_coll_segIDs = 4;removeChannelCps(String key) map<string, .milvus.proto.msg.MsgPosition> channel_cps = 7;removeCollFlushTs(String key) hybrid ts for geting flush tatephysical time for backup toolremoveCollSegIDs(String key) map<string, .milvus.proto.schema.LongArray> coll_segIDs = 3;map<string, .milvus.proto.schema.LongArray> flush_coll_segIDs = 4;string db_name = 2;setDbNameBytes(com.google.protobuf.ByteString value) string db_name = 2;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) .milvus.proto.common.Status status = 1;setStatus(Status.Builder builderForValue) .milvus.proto.common.Status status = 1;final FlushResponse.BuildersetUnknownFields(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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<FlushResponse.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<FlushResponse.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<FlushResponse.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<FlushResponse.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<FlushResponse.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<FlushResponse.Builder>
-
setField
public FlushResponse.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<FlushResponse.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FlushResponse.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FlushResponse.Builder>
-
setRepeatedField
public FlushResponse.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<FlushResponse.Builder>
-
addRepeatedField
public FlushResponse.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<FlushResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FlushResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<FlushResponse.Builder>
-
mergeFrom
public FlushResponse.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<FlushResponse.Builder>- Throws:
IOException
-
hasStatus
public boolean hasStatus().milvus.proto.common.Status status = 1;- Specified by:
hasStatusin interfaceFlushResponseOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
.milvus.proto.common.Status status = 1;- Specified by:
getStatusin interfaceFlushResponseOrBuilder- Returns:
- The status.
-
setStatus
.milvus.proto.common.Status status = 1; -
setStatus
.milvus.proto.common.Status status = 1; -
mergeStatus
.milvus.proto.common.Status status = 1; -
clearStatus
.milvus.proto.common.Status status = 1; -
getStatusBuilder
.milvus.proto.common.Status status = 1; -
getStatusOrBuilder
.milvus.proto.common.Status status = 1;- Specified by:
getStatusOrBuilderin interfaceFlushResponseOrBuilder
-
getDbName
string db_name = 2;- Specified by:
getDbNamein interfaceFlushResponseOrBuilder- Returns:
- The dbName.
-
getDbNameBytes
public com.google.protobuf.ByteString getDbNameBytes()string db_name = 2;- Specified by:
getDbNameBytesin interfaceFlushResponseOrBuilder- Returns:
- The bytes for dbName.
-
setDbName
string db_name = 2;- Parameters:
value- The dbName to set.- Returns:
- This builder for chaining.
-
clearDbName
string db_name = 2;- Returns:
- This builder for chaining.
-
setDbNameBytes
string db_name = 2;- Parameters:
value- The bytes for dbName to set.- Returns:
- This builder for chaining.
-
getCollSegIDsCount
public int getCollSegIDsCount()Description copied from interface:FlushResponseOrBuildermap<string, .milvus.proto.schema.LongArray> coll_segIDs = 3;- Specified by:
getCollSegIDsCountin interfaceFlushResponseOrBuilder
-
containsCollSegIDs
map<string, .milvus.proto.schema.LongArray> coll_segIDs = 3;- Specified by:
containsCollSegIDsin interfaceFlushResponseOrBuilder
-
getCollSegIDs
Deprecated.UsegetCollSegIDsMap()instead.- Specified by:
getCollSegIDsin interfaceFlushResponseOrBuilder
-
getCollSegIDsMap
map<string, .milvus.proto.schema.LongArray> coll_segIDs = 3;- Specified by:
getCollSegIDsMapin interfaceFlushResponseOrBuilder
-
getCollSegIDsOrDefault
map<string, .milvus.proto.schema.LongArray> coll_segIDs = 3;- Specified by:
getCollSegIDsOrDefaultin interfaceFlushResponseOrBuilder
-
getCollSegIDsOrThrow
map<string, .milvus.proto.schema.LongArray> coll_segIDs = 3;- Specified by:
getCollSegIDsOrThrowin interfaceFlushResponseOrBuilder
-
clearCollSegIDs
-
removeCollSegIDs
map<string, .milvus.proto.schema.LongArray> coll_segIDs = 3; -
getMutableCollSegIDs
Deprecated.Use alternate mutation accessors instead. -
putCollSegIDs
map<string, .milvus.proto.schema.LongArray> coll_segIDs = 3; -
putAllCollSegIDs
map<string, .milvus.proto.schema.LongArray> coll_segIDs = 3; -
putCollSegIDsBuilderIfAbsent
map<string, .milvus.proto.schema.LongArray> coll_segIDs = 3; -
getFlushCollSegIDsCount
public int getFlushCollSegIDsCount()Description copied from interface:FlushResponseOrBuildermap<string, .milvus.proto.schema.LongArray> flush_coll_segIDs = 4;- Specified by:
getFlushCollSegIDsCountin interfaceFlushResponseOrBuilder
-
containsFlushCollSegIDs
map<string, .milvus.proto.schema.LongArray> flush_coll_segIDs = 4;- Specified by:
containsFlushCollSegIDsin interfaceFlushResponseOrBuilder
-
getFlushCollSegIDs
Deprecated.UsegetFlushCollSegIDsMap()instead.- Specified by:
getFlushCollSegIDsin interfaceFlushResponseOrBuilder
-
getFlushCollSegIDsMap
map<string, .milvus.proto.schema.LongArray> flush_coll_segIDs = 4;- Specified by:
getFlushCollSegIDsMapin interfaceFlushResponseOrBuilder
-
getFlushCollSegIDsOrDefault
map<string, .milvus.proto.schema.LongArray> flush_coll_segIDs = 4;- Specified by:
getFlushCollSegIDsOrDefaultin interfaceFlushResponseOrBuilder
-
getFlushCollSegIDsOrThrow
map<string, .milvus.proto.schema.LongArray> flush_coll_segIDs = 4;- Specified by:
getFlushCollSegIDsOrThrowin interfaceFlushResponseOrBuilder
-
clearFlushCollSegIDs
-
removeFlushCollSegIDs
map<string, .milvus.proto.schema.LongArray> flush_coll_segIDs = 4; -
getMutableFlushCollSegIDs
Deprecated.Use alternate mutation accessors instead. -
putFlushCollSegIDs
map<string, .milvus.proto.schema.LongArray> flush_coll_segIDs = 4; -
putAllFlushCollSegIDs
map<string, .milvus.proto.schema.LongArray> flush_coll_segIDs = 4; -
putFlushCollSegIDsBuilderIfAbsent
map<string, .milvus.proto.schema.LongArray> flush_coll_segIDs = 4; -
getCollSealTimesCount
public int getCollSealTimesCount()Description copied from interface:FlushResponseOrBuilderphysical time for backup tool
map<string, int64> coll_seal_times = 5;- Specified by:
getCollSealTimesCountin interfaceFlushResponseOrBuilder
-
containsCollSealTimes
physical time for backup tool
map<string, int64> coll_seal_times = 5;- Specified by:
containsCollSealTimesin interfaceFlushResponseOrBuilder
-
getCollSealTimes
Deprecated.UsegetCollSealTimesMap()instead.- Specified by:
getCollSealTimesin interfaceFlushResponseOrBuilder
-
getCollSealTimesMap
physical time for backup tool
map<string, int64> coll_seal_times = 5;- Specified by:
getCollSealTimesMapin interfaceFlushResponseOrBuilder
-
getCollSealTimesOrDefault
physical time for backup tool
map<string, int64> coll_seal_times = 5;- Specified by:
getCollSealTimesOrDefaultin interfaceFlushResponseOrBuilder
-
getCollSealTimesOrThrow
physical time for backup tool
map<string, int64> coll_seal_times = 5;- Specified by:
getCollSealTimesOrThrowin interfaceFlushResponseOrBuilder
-
clearCollSealTimes
-
removeCollSealTimes
physical time for backup tool
map<string, int64> coll_seal_times = 5; -
getMutableCollSealTimes
Deprecated.Use alternate mutation accessors instead. -
putCollSealTimes
physical time for backup tool
map<string, int64> coll_seal_times = 5; -
putAllCollSealTimes
physical time for backup tool
map<string, int64> coll_seal_times = 5; -
getCollFlushTsCount
public int getCollFlushTsCount()Description copied from interface:FlushResponseOrBuilderhybrid ts for geting flush tate
map<string, uint64> coll_flush_ts = 6;- Specified by:
getCollFlushTsCountin interfaceFlushResponseOrBuilder
-
containsCollFlushTs
hybrid ts for geting flush tate
map<string, uint64> coll_flush_ts = 6;- Specified by:
containsCollFlushTsin interfaceFlushResponseOrBuilder
-
getCollFlushTs
Deprecated.UsegetCollFlushTsMap()instead.- Specified by:
getCollFlushTsin interfaceFlushResponseOrBuilder
-
getCollFlushTsMap
hybrid ts for geting flush tate
map<string, uint64> coll_flush_ts = 6;- Specified by:
getCollFlushTsMapin interfaceFlushResponseOrBuilder
-
getCollFlushTsOrDefault
hybrid ts for geting flush tate
map<string, uint64> coll_flush_ts = 6;- Specified by:
getCollFlushTsOrDefaultin interfaceFlushResponseOrBuilder
-
getCollFlushTsOrThrow
hybrid ts for geting flush tate
map<string, uint64> coll_flush_ts = 6;- Specified by:
getCollFlushTsOrThrowin interfaceFlushResponseOrBuilder
-
clearCollFlushTs
-
removeCollFlushTs
hybrid ts for geting flush tate
map<string, uint64> coll_flush_ts = 6; -
getMutableCollFlushTs
Deprecated.Use alternate mutation accessors instead. -
putCollFlushTs
hybrid ts for geting flush tate
map<string, uint64> coll_flush_ts = 6; -
putAllCollFlushTs
hybrid ts for geting flush tate
map<string, uint64> coll_flush_ts = 6; -
getChannelCpsCount
public int getChannelCpsCount()Description copied from interface:FlushResponseOrBuildermap<string, .milvus.proto.msg.MsgPosition> channel_cps = 7;- Specified by:
getChannelCpsCountin interfaceFlushResponseOrBuilder
-
containsChannelCps
map<string, .milvus.proto.msg.MsgPosition> channel_cps = 7;- Specified by:
containsChannelCpsin interfaceFlushResponseOrBuilder
-
getChannelCps
Deprecated.UsegetChannelCpsMap()instead.- Specified by:
getChannelCpsin interfaceFlushResponseOrBuilder
-
getChannelCpsMap
map<string, .milvus.proto.msg.MsgPosition> channel_cps = 7;- Specified by:
getChannelCpsMapin interfaceFlushResponseOrBuilder
-
getChannelCpsOrDefault
map<string, .milvus.proto.msg.MsgPosition> channel_cps = 7;- Specified by:
getChannelCpsOrDefaultin interfaceFlushResponseOrBuilder
-
getChannelCpsOrThrow
map<string, .milvus.proto.msg.MsgPosition> channel_cps = 7;- Specified by:
getChannelCpsOrThrowin interfaceFlushResponseOrBuilder
-
clearChannelCps
-
removeChannelCps
map<string, .milvus.proto.msg.MsgPosition> channel_cps = 7; -
getMutableChannelCps
Deprecated.Use alternate mutation accessors instead. -
putChannelCps
map<string, .milvus.proto.msg.MsgPosition> channel_cps = 7; -
putAllChannelCps
map<string, .milvus.proto.msg.MsgPosition> channel_cps = 7; -
putChannelCpsBuilderIfAbsent
map<string, .milvus.proto.msg.MsgPosition> channel_cps = 7; -
setUnknownFields
public final FlushResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FlushResponse.Builder>
-
mergeUnknownFields
public final FlushResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FlushResponse.Builder>
-