Package io.milvus.grpc
Class FlushCollectionResult.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FlushCollectionResult.Builder>
-
- io.milvus.grpc.FlushCollectionResult.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,FlushCollectionResultOrBuilder,Cloneable
- Enclosing class:
- FlushCollectionResult
public static final class FlushCollectionResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FlushCollectionResult.Builder> implements FlushCollectionResultOrBuilder
Protobuf typemilvus.proto.milvus.FlushCollectionResult
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FlushCollectionResult.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FlushCollectionResultbuild()FlushCollectionResultbuildPartial()FlushCollectionResult.Builderclear()FlushCollectionResult.BuilderclearChannelCps()FlushCollectionResult.BuilderclearCollectionName()Collection nameFlushCollectionResult.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)FlushCollectionResult.BuilderclearFlushSegmentIds()Segment IDs that were actually flushedFlushCollectionResult.BuilderclearFlushTs()Flush timestamp (hybrid timestamp for getting flush state)FlushCollectionResult.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)FlushCollectionResult.BuilderclearSealTime()Seal time (physical time for backup tools)FlushCollectionResult.BuilderclearSegmentIds()Segment IDsFlushCollectionResult.Builderclone()booleancontainsChannelCps(String key)channel name to checkpoint positionMap<String,Msg.MsgPosition>getChannelCps()Deprecated.intgetChannelCpsCount()channel name to checkpoint positionMap<String,Msg.MsgPosition>getChannelCpsMap()channel name to checkpoint positionMsg.MsgPositiongetChannelCpsOrDefault(String key, Msg.MsgPosition defaultValue)channel name to checkpoint positionMsg.MsgPositiongetChannelCpsOrThrow(String key)channel name to checkpoint positionStringgetCollectionName()Collection namecom.google.protobuf.ByteStringgetCollectionNameBytes()Collection nameFlushCollectionResultgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()LongArraygetFlushSegmentIds()Segment IDs that were actually flushedLongArray.BuildergetFlushSegmentIdsBuilder()Segment IDs that were actually flushedLongArrayOrBuildergetFlushSegmentIdsOrBuilder()Segment IDs that were actually flushedlonggetFlushTs()Flush timestamp (hybrid timestamp for getting flush state)Map<String,Msg.MsgPosition>getMutableChannelCps()Deprecated.longgetSealTime()Seal time (physical time for backup tools)LongArraygetSegmentIds()Segment IDsLongArray.BuildergetSegmentIdsBuilder()Segment IDsLongArrayOrBuildergetSegmentIdsOrBuilder()Segment IDsbooleanhasFlushSegmentIds()Segment IDs that were actually flushedbooleanhasSegmentIds()Segment IDsprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number)booleanisInitialized()FlushCollectionResult.BuildermergeFlushSegmentIds(LongArray value)Segment IDs that were actually flushedFlushCollectionResult.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)FlushCollectionResult.BuildermergeFrom(com.google.protobuf.Message other)FlushCollectionResult.BuildermergeFrom(FlushCollectionResult other)FlushCollectionResult.BuildermergeSegmentIds(LongArray value)Segment IDsFlushCollectionResult.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)FlushCollectionResult.BuilderputAllChannelCps(Map<String,Msg.MsgPosition> values)channel name to checkpoint positionFlushCollectionResult.BuilderputChannelCps(String key, Msg.MsgPosition value)channel name to checkpoint positionMsg.MsgPosition.BuilderputChannelCpsBuilderIfAbsent(String key)channel name to checkpoint positionFlushCollectionResult.BuilderremoveChannelCps(String key)channel name to checkpoint positionFlushCollectionResult.BuildersetCollectionName(String value)Collection nameFlushCollectionResult.BuildersetCollectionNameBytes(com.google.protobuf.ByteString value)Collection nameFlushCollectionResult.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FlushCollectionResult.BuildersetFlushSegmentIds(LongArray value)Segment IDs that were actually flushedFlushCollectionResult.BuildersetFlushSegmentIds(LongArray.Builder builderForValue)Segment IDs that were actually flushedFlushCollectionResult.BuildersetFlushTs(long value)Flush timestamp (hybrid timestamp for getting flush state)FlushCollectionResult.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)FlushCollectionResult.BuildersetSealTime(long value)Seal time (physical time for backup tools)FlushCollectionResult.BuildersetSegmentIds(LongArray value)Segment IDsFlushCollectionResult.BuildersetSegmentIds(LongArray.Builder builderForValue)Segment IDsFlushCollectionResult.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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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<FlushCollectionResult.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<FlushCollectionResult.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<FlushCollectionResult.Builder>
-
clear
public FlushCollectionResult.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<FlushCollectionResult.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<FlushCollectionResult.Builder>
-
getDefaultInstanceForType
public FlushCollectionResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public FlushCollectionResult build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FlushCollectionResult buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FlushCollectionResult.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<FlushCollectionResult.Builder>
-
setField
public FlushCollectionResult.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<FlushCollectionResult.Builder>
-
clearField
public FlushCollectionResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FlushCollectionResult.Builder>
-
clearOneof
public FlushCollectionResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FlushCollectionResult.Builder>
-
setRepeatedField
public FlushCollectionResult.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<FlushCollectionResult.Builder>
-
addRepeatedField
public FlushCollectionResult.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<FlushCollectionResult.Builder>
-
mergeFrom
public FlushCollectionResult.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FlushCollectionResult.Builder>
-
mergeFrom
public FlushCollectionResult.Builder mergeFrom(FlushCollectionResult other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<FlushCollectionResult.Builder>
-
mergeFrom
public FlushCollectionResult.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<FlushCollectionResult.Builder>- Throws:
IOException
-
getCollectionName
public String getCollectionName()
Collection name
string collection_name = 1;- Specified by:
getCollectionNamein interfaceFlushCollectionResultOrBuilder- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()
Collection name
string collection_name = 1;- Specified by:
getCollectionNameBytesin interfaceFlushCollectionResultOrBuilder- Returns:
- The bytes for collectionName.
-
setCollectionName
public FlushCollectionResult.Builder setCollectionName(String value)
Collection name
string collection_name = 1;- Parameters:
value- The collectionName to set.- Returns:
- This builder for chaining.
-
clearCollectionName
public FlushCollectionResult.Builder clearCollectionName()
Collection name
string collection_name = 1;- Returns:
- This builder for chaining.
-
setCollectionNameBytes
public FlushCollectionResult.Builder setCollectionNameBytes(com.google.protobuf.ByteString value)
Collection name
string collection_name = 1;- Parameters:
value- The bytes for collectionName to set.- Returns:
- This builder for chaining.
-
hasSegmentIds
public boolean hasSegmentIds()
Segment IDs
.milvus.proto.schema.LongArray segment_ids = 2;- Specified by:
hasSegmentIdsin interfaceFlushCollectionResultOrBuilder- Returns:
- Whether the segmentIds field is set.
-
getSegmentIds
public LongArray getSegmentIds()
Segment IDs
.milvus.proto.schema.LongArray segment_ids = 2;- Specified by:
getSegmentIdsin interfaceFlushCollectionResultOrBuilder- Returns:
- The segmentIds.
-
setSegmentIds
public FlushCollectionResult.Builder setSegmentIds(LongArray value)
Segment IDs
.milvus.proto.schema.LongArray segment_ids = 2;
-
setSegmentIds
public FlushCollectionResult.Builder setSegmentIds(LongArray.Builder builderForValue)
Segment IDs
.milvus.proto.schema.LongArray segment_ids = 2;
-
mergeSegmentIds
public FlushCollectionResult.Builder mergeSegmentIds(LongArray value)
Segment IDs
.milvus.proto.schema.LongArray segment_ids = 2;
-
clearSegmentIds
public FlushCollectionResult.Builder clearSegmentIds()
Segment IDs
.milvus.proto.schema.LongArray segment_ids = 2;
-
getSegmentIdsBuilder
public LongArray.Builder getSegmentIdsBuilder()
Segment IDs
.milvus.proto.schema.LongArray segment_ids = 2;
-
getSegmentIdsOrBuilder
public LongArrayOrBuilder getSegmentIdsOrBuilder()
Segment IDs
.milvus.proto.schema.LongArray segment_ids = 2;- Specified by:
getSegmentIdsOrBuilderin interfaceFlushCollectionResultOrBuilder
-
hasFlushSegmentIds
public boolean hasFlushSegmentIds()
Segment IDs that were actually flushed
.milvus.proto.schema.LongArray flush_segment_ids = 3;- Specified by:
hasFlushSegmentIdsin interfaceFlushCollectionResultOrBuilder- Returns:
- Whether the flushSegmentIds field is set.
-
getFlushSegmentIds
public LongArray getFlushSegmentIds()
Segment IDs that were actually flushed
.milvus.proto.schema.LongArray flush_segment_ids = 3;- Specified by:
getFlushSegmentIdsin interfaceFlushCollectionResultOrBuilder- Returns:
- The flushSegmentIds.
-
setFlushSegmentIds
public FlushCollectionResult.Builder setFlushSegmentIds(LongArray value)
Segment IDs that were actually flushed
.milvus.proto.schema.LongArray flush_segment_ids = 3;
-
setFlushSegmentIds
public FlushCollectionResult.Builder setFlushSegmentIds(LongArray.Builder builderForValue)
Segment IDs that were actually flushed
.milvus.proto.schema.LongArray flush_segment_ids = 3;
-
mergeFlushSegmentIds
public FlushCollectionResult.Builder mergeFlushSegmentIds(LongArray value)
Segment IDs that were actually flushed
.milvus.proto.schema.LongArray flush_segment_ids = 3;
-
clearFlushSegmentIds
public FlushCollectionResult.Builder clearFlushSegmentIds()
Segment IDs that were actually flushed
.milvus.proto.schema.LongArray flush_segment_ids = 3;
-
getFlushSegmentIdsBuilder
public LongArray.Builder getFlushSegmentIdsBuilder()
Segment IDs that were actually flushed
.milvus.proto.schema.LongArray flush_segment_ids = 3;
-
getFlushSegmentIdsOrBuilder
public LongArrayOrBuilder getFlushSegmentIdsOrBuilder()
Segment IDs that were actually flushed
.milvus.proto.schema.LongArray flush_segment_ids = 3;- Specified by:
getFlushSegmentIdsOrBuilderin interfaceFlushCollectionResultOrBuilder
-
getSealTime
public long getSealTime()
Seal time (physical time for backup tools)
int64 seal_time = 4;- Specified by:
getSealTimein interfaceFlushCollectionResultOrBuilder- Returns:
- The sealTime.
-
setSealTime
public FlushCollectionResult.Builder setSealTime(long value)
Seal time (physical time for backup tools)
int64 seal_time = 4;- Parameters:
value- The sealTime to set.- Returns:
- This builder for chaining.
-
clearSealTime
public FlushCollectionResult.Builder clearSealTime()
Seal time (physical time for backup tools)
int64 seal_time = 4;- Returns:
- This builder for chaining.
-
getFlushTs
public long getFlushTs()
Flush timestamp (hybrid timestamp for getting flush state)
uint64 flush_ts = 5;- Specified by:
getFlushTsin interfaceFlushCollectionResultOrBuilder- Returns:
- The flushTs.
-
setFlushTs
public FlushCollectionResult.Builder setFlushTs(long value)
Flush timestamp (hybrid timestamp for getting flush state)
uint64 flush_ts = 5;- Parameters:
value- The flushTs to set.- Returns:
- This builder for chaining.
-
clearFlushTs
public FlushCollectionResult.Builder clearFlushTs()
Flush timestamp (hybrid timestamp for getting flush state)
uint64 flush_ts = 5;- Returns:
- This builder for chaining.
-
getChannelCpsCount
public int getChannelCpsCount()
Description copied from interface:FlushCollectionResultOrBuilderchannel name to checkpoint position
map<string, .milvus.proto.msg.MsgPosition> channel_cps = 6;- Specified by:
getChannelCpsCountin interfaceFlushCollectionResultOrBuilder
-
containsChannelCps
public boolean containsChannelCps(String key)
channel name to checkpoint position
map<string, .milvus.proto.msg.MsgPosition> channel_cps = 6;- Specified by:
containsChannelCpsin interfaceFlushCollectionResultOrBuilder
-
getChannelCps
@Deprecated public Map<String,Msg.MsgPosition> getChannelCps()
Deprecated.UsegetChannelCpsMap()instead.- Specified by:
getChannelCpsin interfaceFlushCollectionResultOrBuilder
-
getChannelCpsMap
public Map<String,Msg.MsgPosition> getChannelCpsMap()
channel name to checkpoint position
map<string, .milvus.proto.msg.MsgPosition> channel_cps = 6;- Specified by:
getChannelCpsMapin interfaceFlushCollectionResultOrBuilder
-
getChannelCpsOrDefault
public Msg.MsgPosition getChannelCpsOrDefault(String key, Msg.MsgPosition defaultValue)
channel name to checkpoint position
map<string, .milvus.proto.msg.MsgPosition> channel_cps = 6;- Specified by:
getChannelCpsOrDefaultin interfaceFlushCollectionResultOrBuilder
-
getChannelCpsOrThrow
public Msg.MsgPosition getChannelCpsOrThrow(String key)
channel name to checkpoint position
map<string, .milvus.proto.msg.MsgPosition> channel_cps = 6;- Specified by:
getChannelCpsOrThrowin interfaceFlushCollectionResultOrBuilder
-
clearChannelCps
public FlushCollectionResult.Builder clearChannelCps()
-
removeChannelCps
public FlushCollectionResult.Builder removeChannelCps(String key)
channel name to checkpoint position
map<string, .milvus.proto.msg.MsgPosition> channel_cps = 6;
-
getMutableChannelCps
@Deprecated public Map<String,Msg.MsgPosition> getMutableChannelCps()
Deprecated.Use alternate mutation accessors instead.
-
putChannelCps
public FlushCollectionResult.Builder putChannelCps(String key, Msg.MsgPosition value)
channel name to checkpoint position
map<string, .milvus.proto.msg.MsgPosition> channel_cps = 6;
-
putAllChannelCps
public FlushCollectionResult.Builder putAllChannelCps(Map<String,Msg.MsgPosition> values)
channel name to checkpoint position
map<string, .milvus.proto.msg.MsgPosition> channel_cps = 6;
-
putChannelCpsBuilderIfAbsent
public Msg.MsgPosition.Builder putChannelCpsBuilderIfAbsent(String key)
channel name to checkpoint position
map<string, .milvus.proto.msg.MsgPosition> channel_cps = 6;
-
setUnknownFields
public final FlushCollectionResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FlushCollectionResult.Builder>
-
mergeUnknownFields
public final FlushCollectionResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FlushCollectionResult.Builder>
-
-