Package io.milvus.grpc
Class RestoreExternalSnapshotRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.milvus.grpc.RestoreExternalSnapshotRequest
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RestoreExternalSnapshotRequestOrBuilder,Serializable
public final class RestoreExternalSnapshotRequest extends com.google.protobuf.GeneratedMessageV3 implements RestoreExternalSnapshotRequestOrBuilder
restore an external snapshot by metadata URI to a new collection
Protobuf typemilvus.proto.milvus.RestoreExternalSnapshotRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRestoreExternalSnapshotRequest.Builderrestore an external snapshot by metadata URI to a new collection-
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 intBASE_FIELD_NUMBERstatic intDB_NAME_FIELD_NUMBERstatic intEXTERNAL_SPEC_FIELD_NUMBERstatic intSNAPSHOT_METADATA_URI_FIELD_NUMBERstatic intTARGET_COLLECTION_NAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)MsgBasegetBase().milvus.proto.common.MsgBase base = 1;MsgBaseOrBuildergetBaseOrBuilder().milvus.proto.common.MsgBase base = 1;StringgetDbName()target db name (where to restore to)com.google.protobuf.ByteStringgetDbNameBytes()target db name (where to restore to)static RestoreExternalSnapshotRequestgetDefaultInstance()RestoreExternalSnapshotRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetExternalSpec()Optional external storage spec JSON for the external snapshot storage.com.google.protobuf.ByteStringgetExternalSpecBytes()Optional external storage spec JSON for the external snapshot storage.com.google.protobuf.Parser<RestoreExternalSnapshotRequest>getParserForType()intgetSerializedSize()StringgetSnapshotMetadataUri()external snapshot metadata URIcom.google.protobuf.ByteStringgetSnapshotMetadataUriBytes()external snapshot metadata URIStringgetTargetCollectionName()target collection name (must not exist)com.google.protobuf.ByteStringgetTargetCollectionNameBytes()target collection name (must not exist)booleanhasBase().milvus.proto.common.MsgBase base = 1;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static RestoreExternalSnapshotRequest.BuildernewBuilder()static RestoreExternalSnapshotRequest.BuildernewBuilder(RestoreExternalSnapshotRequest prototype)RestoreExternalSnapshotRequest.BuildernewBuilderForType()protected RestoreExternalSnapshotRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RestoreExternalSnapshotRequestparseDelimitedFrom(InputStream input)static RestoreExternalSnapshotRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreExternalSnapshotRequestparseFrom(byte[] data)static RestoreExternalSnapshotRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreExternalSnapshotRequestparseFrom(com.google.protobuf.ByteString data)static RestoreExternalSnapshotRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreExternalSnapshotRequestparseFrom(com.google.protobuf.CodedInputStream input)static RestoreExternalSnapshotRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreExternalSnapshotRequestparseFrom(InputStream input)static RestoreExternalSnapshotRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreExternalSnapshotRequestparseFrom(ByteBuffer data)static RestoreExternalSnapshotRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<RestoreExternalSnapshotRequest>parser()RestoreExternalSnapshotRequest.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
-
BASE_FIELD_NUMBER
public static final int BASE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DB_NAME_FIELD_NUMBER
public static final int DB_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_COLLECTION_NAME_FIELD_NUMBER
public static final int TARGET_COLLECTION_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SNAPSHOT_METADATA_URI_FIELD_NUMBER
public static final int SNAPSHOT_METADATA_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXTERNAL_SPEC_FIELD_NUMBER
public static final int EXTERNAL_SPEC_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
-
hasBase
public boolean hasBase()
.milvus.proto.common.MsgBase base = 1;- Specified by:
hasBasein interfaceRestoreExternalSnapshotRequestOrBuilder- Returns:
- Whether the base field is set.
-
getBase
public MsgBase getBase()
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBasein interfaceRestoreExternalSnapshotRequestOrBuilder- Returns:
- The base.
-
getBaseOrBuilder
public MsgBaseOrBuilder getBaseOrBuilder()
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBaseOrBuilderin interfaceRestoreExternalSnapshotRequestOrBuilder
-
getDbName
public String getDbName()
target db name (where to restore to)
string db_name = 2;- Specified by:
getDbNamein interfaceRestoreExternalSnapshotRequestOrBuilder- Returns:
- The dbName.
-
getDbNameBytes
public com.google.protobuf.ByteString getDbNameBytes()
target db name (where to restore to)
string db_name = 2;- Specified by:
getDbNameBytesin interfaceRestoreExternalSnapshotRequestOrBuilder- Returns:
- The bytes for dbName.
-
getTargetCollectionName
public String getTargetCollectionName()
target collection name (must not exist)
string target_collection_name = 3;- Specified by:
getTargetCollectionNamein interfaceRestoreExternalSnapshotRequestOrBuilder- Returns:
- The targetCollectionName.
-
getTargetCollectionNameBytes
public com.google.protobuf.ByteString getTargetCollectionNameBytes()
target collection name (must not exist)
string target_collection_name = 3;- Specified by:
getTargetCollectionNameBytesin interfaceRestoreExternalSnapshotRequestOrBuilder- Returns:
- The bytes for targetCollectionName.
-
getSnapshotMetadataUri
public String getSnapshotMetadataUri()
external snapshot metadata URI
string snapshot_metadata_uri = 4;- Specified by:
getSnapshotMetadataUriin interfaceRestoreExternalSnapshotRequestOrBuilder- Returns:
- The snapshotMetadataUri.
-
getSnapshotMetadataUriBytes
public com.google.protobuf.ByteString getSnapshotMetadataUriBytes()
external snapshot metadata URI
string snapshot_metadata_uri = 4;- Specified by:
getSnapshotMetadataUriBytesin interfaceRestoreExternalSnapshotRequestOrBuilder- Returns:
- The bytes for snapshotMetadataUri.
-
getExternalSpec
public String getExternalSpec()
Optional external storage spec JSON for the external snapshot storage. Snapshot APIs consume the extfs section for provider, endpoint, region, SSL, IAM, and credential settings.
string external_spec = 5;- Specified by:
getExternalSpecin interfaceRestoreExternalSnapshotRequestOrBuilder- Returns:
- The externalSpec.
-
getExternalSpecBytes
public com.google.protobuf.ByteString getExternalSpecBytes()
Optional external storage spec JSON for the external snapshot storage. Snapshot APIs consume the extfs section for provider, endpoint, region, SSL, IAM, and credential settings.
string external_spec = 5;- Specified by:
getExternalSpecBytesin interfaceRestoreExternalSnapshotRequestOrBuilder- Returns:
- The bytes for externalSpec.
-
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 RestoreExternalSnapshotRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreExternalSnapshotRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreExternalSnapshotRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreExternalSnapshotRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreExternalSnapshotRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreExternalSnapshotRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreExternalSnapshotRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RestoreExternalSnapshotRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RestoreExternalSnapshotRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RestoreExternalSnapshotRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RestoreExternalSnapshotRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RestoreExternalSnapshotRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RestoreExternalSnapshotRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RestoreExternalSnapshotRequest.Builder newBuilder()
-
newBuilder
public static RestoreExternalSnapshotRequest.Builder newBuilder(RestoreExternalSnapshotRequest prototype)
-
toBuilder
public RestoreExternalSnapshotRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RestoreExternalSnapshotRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RestoreExternalSnapshotRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RestoreExternalSnapshotRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<RestoreExternalSnapshotRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RestoreExternalSnapshotRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-