Package io.milvus.grpc
Class GetImportStateResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.milvus.grpc.GetImportStateResponse
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GetImportStateResponseOrBuilder,Serializable
public final class GetImportStateResponse extends com.google.protobuf.GeneratedMessageV3 implements GetImportStateResponseOrBuilder
Protobuf typemilvus.proto.milvus.GetImportStateResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetImportStateResponse.BuilderProtobuf typemilvus.proto.milvus.GetImportStateResponse-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCOLLECTION_ID_FIELD_NUMBERstatic intCREATE_TS_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intID_LIST_FIELD_NUMBERstatic intINFOS_FIELD_NUMBERstatic intROW_COUNT_FIELD_NUMBERstatic intSEGMENT_IDS_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)longgetCollectionId()collection ID of the import task.longgetCreateTs()timestamp when the import task is created.static GetImportStateResponsegetDefaultInstance()GetImportStateResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetId()id of an import tasklonggetIdList(int index)auto generated ids if the primary key is autoidintgetIdListCount()auto generated ids if the primary key is autoidList<Long>getIdListList()auto generated ids if the primary key is autoidKeyValuePairgetInfos(int index)more information about the task, progress percent, file path, failed reason, etc.intgetInfosCount()more information about the task, progress percent, file path, failed reason, etc.List<KeyValuePair>getInfosList()more information about the task, progress percent, file path, failed reason, etc.KeyValuePairOrBuildergetInfosOrBuilder(int index)more information about the task, progress percent, file path, failed reason, etc.List<? extends KeyValuePairOrBuilder>getInfosOrBuilderList()more information about the task, progress percent, file path, failed reason, etc.com.google.protobuf.Parser<GetImportStateResponse>getParserForType()longgetRowCount()if the task is finished, this value is how many rows are imported.longgetSegmentIds(int index)a list of segment IDs created by the import task.intgetSegmentIdsCount()a list of segment IDs created by the import task.List<Long>getSegmentIdsList()a list of segment IDs created by the import task.intgetSerializedSize()ImportStategetState()is this import task finished or notintgetStateValue()is this import task finished or notStatusgetStatus().milvus.proto.common.Status status = 1;StatusOrBuildergetStatusOrBuilder().milvus.proto.common.Status status = 1;com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasStatus().milvus.proto.common.Status status = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static GetImportStateResponse.BuildernewBuilder()static GetImportStateResponse.BuildernewBuilder(GetImportStateResponse prototype)GetImportStateResponse.BuildernewBuilderForType()protected GetImportStateResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static GetImportStateResponseparseDelimitedFrom(InputStream input)static GetImportStateResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GetImportStateResponseparseFrom(byte[] data)static GetImportStateResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GetImportStateResponseparseFrom(com.google.protobuf.ByteString data)static GetImportStateResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GetImportStateResponseparseFrom(com.google.protobuf.CodedInputStream input)static GetImportStateResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GetImportStateResponseparseFrom(InputStream input)static GetImportStateResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GetImportStateResponseparseFrom(ByteBuffer data)static GetImportStateResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<GetImportStateResponse>parser()GetImportStateResponse.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROW_COUNT_FIELD_NUMBER
public static final int ROW_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_LIST_FIELD_NUMBER
public static final int ID_LIST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INFOS_FIELD_NUMBER
public static final int INFOS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COLLECTION_ID_FIELD_NUMBER
public static final int COLLECTION_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEGMENT_IDS_FIELD_NUMBER
public static final int SEGMENT_IDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TS_FIELD_NUMBER
public static final int CREATE_TS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasStatus
public boolean hasStatus()
.milvus.proto.common.Status status = 1;- Specified by:
hasStatusin interfaceGetImportStateResponseOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
public Status getStatus()
.milvus.proto.common.Status status = 1;- Specified by:
getStatusin interfaceGetImportStateResponseOrBuilder- Returns:
- The status.
-
getStatusOrBuilder
public StatusOrBuilder getStatusOrBuilder()
.milvus.proto.common.Status status = 1;- Specified by:
getStatusOrBuilderin interfaceGetImportStateResponseOrBuilder
-
getStateValue
public int getStateValue()
is this import task finished or not
.milvus.proto.common.ImportState state = 2;- Specified by:
getStateValuein interfaceGetImportStateResponseOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
public ImportState getState()
is this import task finished or not
.milvus.proto.common.ImportState state = 2;- Specified by:
getStatein interfaceGetImportStateResponseOrBuilder- Returns:
- The state.
-
getRowCount
public long getRowCount()
if the task is finished, this value is how many rows are imported. if the task is not finished, this value is how many rows are parsed. return 0 if failed.
int64 row_count = 3;- Specified by:
getRowCountin interfaceGetImportStateResponseOrBuilder- Returns:
- The rowCount.
-
getIdListList
public List<Long> getIdListList()
auto generated ids if the primary key is autoid
repeated int64 id_list = 4;- Specified by:
getIdListListin interfaceGetImportStateResponseOrBuilder- Returns:
- A list containing the idList.
-
getIdListCount
public int getIdListCount()
auto generated ids if the primary key is autoid
repeated int64 id_list = 4;- Specified by:
getIdListCountin interfaceGetImportStateResponseOrBuilder- Returns:
- The count of idList.
-
getIdList
public long getIdList(int index)
auto generated ids if the primary key is autoid
repeated int64 id_list = 4;- Specified by:
getIdListin interfaceGetImportStateResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The idList at the given index.
-
getInfosList
public List<KeyValuePair> getInfosList()
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;- Specified by:
getInfosListin interfaceGetImportStateResponseOrBuilder
-
getInfosOrBuilderList
public List<? extends KeyValuePairOrBuilder> getInfosOrBuilderList()
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;- Specified by:
getInfosOrBuilderListin interfaceGetImportStateResponseOrBuilder
-
getInfosCount
public int getInfosCount()
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;- Specified by:
getInfosCountin interfaceGetImportStateResponseOrBuilder
-
getInfos
public KeyValuePair getInfos(int index)
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;- Specified by:
getInfosin interfaceGetImportStateResponseOrBuilder
-
getInfosOrBuilder
public KeyValuePairOrBuilder getInfosOrBuilder(int index)
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;- Specified by:
getInfosOrBuilderin interfaceGetImportStateResponseOrBuilder
-
getId
public long getId()
id of an import task
int64 id = 6;- Specified by:
getIdin interfaceGetImportStateResponseOrBuilder- Returns:
- The id.
-
getCollectionId
public long getCollectionId()
collection ID of the import task.
int64 collection_id = 7;- Specified by:
getCollectionIdin interfaceGetImportStateResponseOrBuilder- Returns:
- The collectionId.
-
getSegmentIdsList
public List<Long> getSegmentIdsList()
a list of segment IDs created by the import task.
repeated int64 segment_ids = 8;- Specified by:
getSegmentIdsListin interfaceGetImportStateResponseOrBuilder- Returns:
- A list containing the segmentIds.
-
getSegmentIdsCount
public int getSegmentIdsCount()
a list of segment IDs created by the import task.
repeated int64 segment_ids = 8;- Specified by:
getSegmentIdsCountin interfaceGetImportStateResponseOrBuilder- Returns:
- The count of segmentIds.
-
getSegmentIds
public long getSegmentIds(int index)
a list of segment IDs created by the import task.
repeated int64 segment_ids = 8;- Specified by:
getSegmentIdsin interfaceGetImportStateResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The segmentIds at the given index.
-
getCreateTs
public long getCreateTs()
timestamp when the import task is created.
int64 create_ts = 9;- Specified by:
getCreateTsin interfaceGetImportStateResponseOrBuilder- Returns:
- The createTs.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GetImportStateResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetImportStateResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetImportStateResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetImportStateResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetImportStateResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetImportStateResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetImportStateResponse parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GetImportStateResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GetImportStateResponse parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GetImportStateResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static GetImportStateResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GetImportStateResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public GetImportStateResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GetImportStateResponse.Builder newBuilder()
-
newBuilder
public static GetImportStateResponse.Builder newBuilder(GetImportStateResponse prototype)
-
toBuilder
public GetImportStateResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GetImportStateResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static GetImportStateResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GetImportStateResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<GetImportStateResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GetImportStateResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-