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 type
milvus.proto.milvus.GetImportStateResponse- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typemilvus.proto.milvus.GetImportStateResponseNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongcollection ID of the import task.longtimestamp when the import task is created.static GetImportStateResponsestatic final com.google.protobuf.Descriptors.DescriptorlonggetId()id of an import tasklonggetIdList(int index) auto generated ids if the primary key is autoidintauto generated ids if the primary key is autoidauto generated ids if the primary key is autoidgetInfos(int index) more information about the task, progress percent, file path, failed reason, etc.intmore information about the task, progress percent, file path, failed reason, etc.more information about the task, progress percent, file path, failed reason, etc.getInfosOrBuilder(int index) more information about the task, progress percent, file path, failed reason, etc.List<? extends KeyValuePairOrBuilder> more information about the task, progress percent, file path, failed reason, etc.com.google.protobuf.Parser<GetImportStateResponse> longif 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.inta list of segment IDs created by the import task.a list of segment IDs created by the import task.intgetState()is this import task finished or notintis this import task finished or not.milvus.proto.common.Status status = 1;.milvus.proto.common.Status status = 1;inthashCode()boolean.milvus.proto.common.Status status = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(GetImportStateResponse prototype) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
ROW_COUNT_FIELD_NUMBER
public static final int ROW_COUNT_FIELD_NUMBER- See Also:
-
ID_LIST_FIELD_NUMBER
public static final int ID_LIST_FIELD_NUMBER- See Also:
-
INFOS_FIELD_NUMBER
public static final int INFOS_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
COLLECTION_ID_FIELD_NUMBER
public static final int COLLECTION_ID_FIELD_NUMBER- See Also:
-
SEGMENT_IDS_FIELD_NUMBER
public static final int SEGMENT_IDS_FIELD_NUMBER- See Also:
-
CREATE_TS_FIELD_NUMBER
public static final int CREATE_TS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein 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
.milvus.proto.common.Status status = 1;- Specified by:
getStatusin interfaceGetImportStateResponseOrBuilder- Returns:
- The status.
-
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
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
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
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;- Specified by:
getInfosListin interfaceGetImportStateResponseOrBuilder
-
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
more information about the task, progress percent, file path, failed reason, etc.
repeated .milvus.proto.common.KeyValuePair infos = 5;- Specified by:
getInfosin interfaceGetImportStateResponseOrBuilder
-
getInfosOrBuilder
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
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
- 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
- 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
- Throws:
IOException
-
parseFrom
public static GetImportStateResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
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
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-