Package io.milvus.grpc
Class RestoreSnapshotInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.milvus.grpc.RestoreSnapshotInfo
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RestoreSnapshotInfoOrBuilder,Serializable
public final class RestoreSnapshotInfo extends com.google.protobuf.GeneratedMessageV3 implements RestoreSnapshotInfoOrBuilder
Protobuf typemilvus.proto.milvus.RestoreSnapshotInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRestoreSnapshotInfo.BuilderProtobuf typemilvus.proto.milvus.RestoreSnapshotInfo-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static intCOLLECTION_NAME_FIELD_NUMBERstatic intDB_NAME_FIELD_NUMBERstatic intJOB_ID_FIELD_NUMBERstatic intPROGRESS_FIELD_NUMBERstatic intREASON_FIELD_NUMBERstatic intSNAPSHOT_NAME_FIELD_NUMBERstatic intSTART_TIME_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intTIME_COST_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCollectionName()string collection_name = 4;com.google.protobuf.ByteStringgetCollectionNameBytes()string collection_name = 4;StringgetDbName()string db_name = 3;com.google.protobuf.ByteStringgetDbNameBytes()string db_name = 3;static RestoreSnapshotInfogetDefaultInstance()RestoreSnapshotInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetJobId()int64 job_id = 1;com.google.protobuf.Parser<RestoreSnapshotInfo>getParserForType()intgetProgress()progress percentage (0-100)StringgetReason()string reason = 7;com.google.protobuf.ByteStringgetReasonBytes()string reason = 7;intgetSerializedSize()StringgetSnapshotName()string snapshot_name = 2;com.google.protobuf.ByteStringgetSnapshotNameBytes()string snapshot_name = 2;longgetStartTime()start timestamp in millisecondsRestoreSnapshotStategetState().milvus.proto.milvus.RestoreSnapshotState state = 5;intgetStateValue().milvus.proto.milvus.RestoreSnapshotState state = 5;longgetTimeCost()time cost in millisecondsinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static RestoreSnapshotInfo.BuildernewBuilder()static RestoreSnapshotInfo.BuildernewBuilder(RestoreSnapshotInfo prototype)RestoreSnapshotInfo.BuildernewBuilderForType()protected RestoreSnapshotInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RestoreSnapshotInfoparseDelimitedFrom(InputStream input)static RestoreSnapshotInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreSnapshotInfoparseFrom(byte[] data)static RestoreSnapshotInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreSnapshotInfoparseFrom(com.google.protobuf.ByteString data)static RestoreSnapshotInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreSnapshotInfoparseFrom(com.google.protobuf.CodedInputStream input)static RestoreSnapshotInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreSnapshotInfoparseFrom(InputStream input)static RestoreSnapshotInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreSnapshotInfoparseFrom(ByteBuffer data)static RestoreSnapshotInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<RestoreSnapshotInfo>parser()RestoreSnapshotInfo.BuildertoBuilder()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, internalGetMapFieldReflection, 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, 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
-
JOB_ID_FIELD_NUMBER
public static final int JOB_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SNAPSHOT_NAME_FIELD_NUMBER
public static final int SNAPSHOT_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DB_NAME_FIELD_NUMBER
public static final int DB_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COLLECTION_NAME_FIELD_NUMBER
public static final int COLLECTION_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROGRESS_FIELD_NUMBER
public static final int PROGRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REASON_FIELD_NUMBER
public static final int REASON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIME_COST_FIELD_NUMBER
public static final int TIME_COST_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
-
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
-
getJobId
public long getJobId()
int64 job_id = 1;- Specified by:
getJobIdin interfaceRestoreSnapshotInfoOrBuilder- Returns:
- The jobId.
-
getSnapshotName
public String getSnapshotName()
string snapshot_name = 2;- Specified by:
getSnapshotNamein interfaceRestoreSnapshotInfoOrBuilder- Returns:
- The snapshotName.
-
getSnapshotNameBytes
public com.google.protobuf.ByteString getSnapshotNameBytes()
string snapshot_name = 2;- Specified by:
getSnapshotNameBytesin interfaceRestoreSnapshotInfoOrBuilder- Returns:
- The bytes for snapshotName.
-
getDbName
public String getDbName()
string db_name = 3;- Specified by:
getDbNamein interfaceRestoreSnapshotInfoOrBuilder- Returns:
- The dbName.
-
getDbNameBytes
public com.google.protobuf.ByteString getDbNameBytes()
string db_name = 3;- Specified by:
getDbNameBytesin interfaceRestoreSnapshotInfoOrBuilder- Returns:
- The bytes for dbName.
-
getCollectionName
public String getCollectionName()
string collection_name = 4;- Specified by:
getCollectionNamein interfaceRestoreSnapshotInfoOrBuilder- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()
string collection_name = 4;- Specified by:
getCollectionNameBytesin interfaceRestoreSnapshotInfoOrBuilder- Returns:
- The bytes for collectionName.
-
getStateValue
public int getStateValue()
.milvus.proto.milvus.RestoreSnapshotState state = 5;- Specified by:
getStateValuein interfaceRestoreSnapshotInfoOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
public RestoreSnapshotState getState()
.milvus.proto.milvus.RestoreSnapshotState state = 5;- Specified by:
getStatein interfaceRestoreSnapshotInfoOrBuilder- Returns:
- The state.
-
getProgress
public int getProgress()
progress percentage (0-100)
int32 progress = 6;- Specified by:
getProgressin interfaceRestoreSnapshotInfoOrBuilder- Returns:
- The progress.
-
getReason
public String getReason()
string reason = 7;- Specified by:
getReasonin interfaceRestoreSnapshotInfoOrBuilder- Returns:
- The reason.
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()
string reason = 7;- Specified by:
getReasonBytesin interfaceRestoreSnapshotInfoOrBuilder- Returns:
- The bytes for reason.
-
getStartTime
public long getStartTime()
start timestamp in milliseconds
uint64 start_time = 8;- Specified by:
getStartTimein interfaceRestoreSnapshotInfoOrBuilder- Returns:
- The startTime.
-
getTimeCost
public long getTimeCost()
time cost in milliseconds
uint64 time_cost = 9;- Specified by:
getTimeCostin interfaceRestoreSnapshotInfoOrBuilder- Returns:
- The timeCost.
-
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 RestoreSnapshotInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreSnapshotInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreSnapshotInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreSnapshotInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreSnapshotInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreSnapshotInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreSnapshotInfo parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RestoreSnapshotInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RestoreSnapshotInfo parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RestoreSnapshotInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RestoreSnapshotInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RestoreSnapshotInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RestoreSnapshotInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RestoreSnapshotInfo.Builder newBuilder()
-
newBuilder
public static RestoreSnapshotInfo.Builder newBuilder(RestoreSnapshotInfo prototype)
-
toBuilder
public RestoreSnapshotInfo.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RestoreSnapshotInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RestoreSnapshotInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RestoreSnapshotInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<RestoreSnapshotInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RestoreSnapshotInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-