Package io.milvus.grpc
Class ExportSnapshotRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.milvus.grpc.ExportSnapshotRequest
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ExportSnapshotRequestOrBuilder,Serializable
public final class ExportSnapshotRequest extends com.google.protobuf.GeneratedMessageV3 implements ExportSnapshotRequestOrBuilder
export a snapshot and all referenced files to a self-contained external bundle
Protobuf typemilvus.proto.milvus.ExportSnapshotRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExportSnapshotRequest.Builderexport a snapshot and all referenced files to a self-contained external bundle-
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 intCOLLECTION_NAME_FIELD_NUMBERstatic intDB_NAME_FIELD_NUMBERstatic intEXTERNAL_SPEC_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intTARGET_S3_PATH_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;StringgetCollectionName()source collection name (where the snapshot lives)com.google.protobuf.ByteStringgetCollectionNameBytes()source collection name (where the snapshot lives)StringgetDbName()source db name (where the snapshot lives)com.google.protobuf.ByteStringgetDbNameBytes()source db name (where the snapshot lives)static ExportSnapshotRequestgetDefaultInstance()ExportSnapshotRequestgetDefaultInstanceForType()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.StringgetName()source snapshot namecom.google.protobuf.ByteStringgetNameBytes()source snapshot namecom.google.protobuf.Parser<ExportSnapshotRequest>getParserForType()intgetSerializedSize()StringgetTargetS3Path()target root path for the exported snapshot bundlecom.google.protobuf.ByteStringgetTargetS3PathBytes()target root path for the exported snapshot bundlebooleanhasBase().milvus.proto.common.MsgBase base = 1;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ExportSnapshotRequest.BuildernewBuilder()static ExportSnapshotRequest.BuildernewBuilder(ExportSnapshotRequest prototype)ExportSnapshotRequest.BuildernewBuilderForType()protected ExportSnapshotRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ExportSnapshotRequestparseDelimitedFrom(InputStream input)static ExportSnapshotRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExportSnapshotRequestparseFrom(byte[] data)static ExportSnapshotRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExportSnapshotRequestparseFrom(com.google.protobuf.ByteString data)static ExportSnapshotRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExportSnapshotRequestparseFrom(com.google.protobuf.CodedInputStream input)static ExportSnapshotRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExportSnapshotRequestparseFrom(InputStream input)static ExportSnapshotRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ExportSnapshotRequestparseFrom(ByteBuffer data)static ExportSnapshotRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ExportSnapshotRequest>parser()ExportSnapshotRequest.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
-
NAME_FIELD_NUMBER
public static final int 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
-
TARGET_S3_PATH_FIELD_NUMBER
public static final int TARGET_S3_PATH_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 interfaceExportSnapshotRequestOrBuilder- Returns:
- Whether the base field is set.
-
getBase
public MsgBase getBase()
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBasein interfaceExportSnapshotRequestOrBuilder- Returns:
- The base.
-
getBaseOrBuilder
public MsgBaseOrBuilder getBaseOrBuilder()
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBaseOrBuilderin interfaceExportSnapshotRequestOrBuilder
-
getName
public String getName()
source snapshot name
string name = 2;- Specified by:
getNamein interfaceExportSnapshotRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
source snapshot name
string name = 2;- Specified by:
getNameBytesin interfaceExportSnapshotRequestOrBuilder- Returns:
- The bytes for name.
-
getDbName
public String getDbName()
source db name (where the snapshot lives)
string db_name = 3;- Specified by:
getDbNamein interfaceExportSnapshotRequestOrBuilder- Returns:
- The dbName.
-
getDbNameBytes
public com.google.protobuf.ByteString getDbNameBytes()
source db name (where the snapshot lives)
string db_name = 3;- Specified by:
getDbNameBytesin interfaceExportSnapshotRequestOrBuilder- Returns:
- The bytes for dbName.
-
getCollectionName
public String getCollectionName()
source collection name (where the snapshot lives)
string collection_name = 4;- Specified by:
getCollectionNamein interfaceExportSnapshotRequestOrBuilder- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()
source collection name (where the snapshot lives)
string collection_name = 4;- Specified by:
getCollectionNameBytesin interfaceExportSnapshotRequestOrBuilder- Returns:
- The bytes for collectionName.
-
getTargetS3Path
public String getTargetS3Path()
target root path for the exported snapshot bundle
string target_s3_path = 5;- Specified by:
getTargetS3Pathin interfaceExportSnapshotRequestOrBuilder- Returns:
- The targetS3Path.
-
getTargetS3PathBytes
public com.google.protobuf.ByteString getTargetS3PathBytes()
target root path for the exported snapshot bundle
string target_s3_path = 5;- Specified by:
getTargetS3PathBytesin interfaceExportSnapshotRequestOrBuilder- Returns:
- The bytes for targetS3Path.
-
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 = 6;- Specified by:
getExternalSpecin interfaceExportSnapshotRequestOrBuilder- 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 = 6;- Specified by:
getExternalSpecBytesin interfaceExportSnapshotRequestOrBuilder- 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 ExportSnapshotRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExportSnapshotRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExportSnapshotRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExportSnapshotRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExportSnapshotRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExportSnapshotRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ExportSnapshotRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ExportSnapshotRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ExportSnapshotRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ExportSnapshotRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ExportSnapshotRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ExportSnapshotRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ExportSnapshotRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ExportSnapshotRequest.Builder newBuilder()
-
newBuilder
public static ExportSnapshotRequest.Builder newBuilder(ExportSnapshotRequest prototype)
-
toBuilder
public ExportSnapshotRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ExportSnapshotRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ExportSnapshotRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ExportSnapshotRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<ExportSnapshotRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ExportSnapshotRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-