Package io.dingodb.store
Class Store.BackupDataRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.store.Store.BackupDataRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Store.BackupDataRequestOrBuilder,Serializable
- Enclosing class:
- Store
public static final class Store.BackupDataRequest
extends com.google.protobuf.GeneratedMessageV3
implements Store.BackupDataRequestOrBuilder
backup & restoreProtobuf type
dingodb.pb.store.BackupDataRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classbackup & restoreNested 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 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 TypeMethodDescriptionbooleanbackup ts [optional] like "2022-09-08 13:30:00 +08:00"com.google.protobuf.ByteStringbackup ts [optional] like "2022-09-08 13:30:00 +08:00"longbackup tso [required] like "1631158200000000000"intsst compression level, some algorithms support negative compression levels [optional] currently not supported.algorithm used for compress sst files [optional] currently not supported.intalgorithm used for compress sst files [optional] currently not supported..dingodb.pb.store.Context context = 2;.dingodb.pb.store.Context context = 2;static Store.BackupDataRequeststatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.ByteStringbytes end_key = 4;booleanneed leader [required] if true, the backup request will be sent to leader of the region.com.google.protobuf.Parser<Store.BackupDataRequest>region type [required]intregion type [required].dingodb.pb.common.RequestInfo request_info = 1;.dingodb.pb.common.RequestInfo request_info = 1;intcom.google.protobuf.ByteStringbytes start_key = 3;The storage backend for backup.The storage backend for backup.storage path [optional]com.google.protobuf.ByteStringstorage path [optional]boolean.dingodb.pb.store.Context context = 2;inthashCode()boolean.dingodb.pb.common.RequestInfo request_info = 1;booleanThe storage backend for backup.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Store.BackupDataRequest prototype) protected Store.BackupDataRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Store.BackupDataRequestparseDelimitedFrom(InputStream input) static Store.BackupDataRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Store.BackupDataRequestparseFrom(byte[] data) static Store.BackupDataRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Store.BackupDataRequestparseFrom(com.google.protobuf.ByteString data) static Store.BackupDataRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Store.BackupDataRequestparseFrom(com.google.protobuf.CodedInputStream input) static Store.BackupDataRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Store.BackupDataRequestparseFrom(InputStream input) static Store.BackupDataRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Store.BackupDataRequestparseFrom(ByteBuffer data) static Store.BackupDataRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Store.BackupDataRequest>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, 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, 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
-
REQUEST_INFO_FIELD_NUMBER
public static final int REQUEST_INFO_FIELD_NUMBER- See Also:
-
CONTEXT_FIELD_NUMBER
public static final int CONTEXT_FIELD_NUMBER- See Also:
-
START_KEY_FIELD_NUMBER
public static final int START_KEY_FIELD_NUMBER- See Also:
-
END_KEY_FIELD_NUMBER
public static final int END_KEY_FIELD_NUMBER- See Also:
-
NEED_LEADER_FIELD_NUMBER
public static final int NEED_LEADER_FIELD_NUMBER- See Also:
-
REGION_TYPE_FIELD_NUMBER
public static final int REGION_TYPE_FIELD_NUMBER- See Also:
-
BACKUP_TS_FIELD_NUMBER
public static final int BACKUP_TS_FIELD_NUMBER- See Also:
-
BACKUP_TSO_FIELD_NUMBER
public static final int BACKUP_TSO_FIELD_NUMBER- See Also:
-
STORAGE_PATH_FIELD_NUMBER
public static final int STORAGE_PATH_FIELD_NUMBER- See Also:
-
STORAGE_BACKEND_FIELD_NUMBER
public static final int STORAGE_BACKEND_FIELD_NUMBER- See Also:
-
COMPRESSION_TYPE_FIELD_NUMBER
public static final int COMPRESSION_TYPE_FIELD_NUMBER- See Also:
-
COMPRESSION_LEVEL_FIELD_NUMBER
public static final int COMPRESSION_LEVEL_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
-
hasRequestInfo
public boolean hasRequestInfo().dingodb.pb.common.RequestInfo request_info = 1;- Specified by:
hasRequestInfoin interfaceStore.BackupDataRequestOrBuilder- Returns:
- Whether the requestInfo field is set.
-
getRequestInfo
.dingodb.pb.common.RequestInfo request_info = 1;- Specified by:
getRequestInfoin interfaceStore.BackupDataRequestOrBuilder- Returns:
- The requestInfo.
-
getRequestInfoOrBuilder
.dingodb.pb.common.RequestInfo request_info = 1;- Specified by:
getRequestInfoOrBuilderin interfaceStore.BackupDataRequestOrBuilder
-
hasContext
public boolean hasContext().dingodb.pb.store.Context context = 2;- Specified by:
hasContextin interfaceStore.BackupDataRequestOrBuilder- Returns:
- Whether the context field is set.
-
getContext
.dingodb.pb.store.Context context = 2;- Specified by:
getContextin interfaceStore.BackupDataRequestOrBuilder- Returns:
- The context.
-
getContextOrBuilder
.dingodb.pb.store.Context context = 2;- Specified by:
getContextOrBuilderin interfaceStore.BackupDataRequestOrBuilder
-
getStartKey
public com.google.protobuf.ByteString getStartKey()bytes start_key = 3;- Specified by:
getStartKeyin interfaceStore.BackupDataRequestOrBuilder- Returns:
- The startKey.
-
getEndKey
public com.google.protobuf.ByteString getEndKey()bytes end_key = 4;- Specified by:
getEndKeyin interfaceStore.BackupDataRequestOrBuilder- Returns:
- The endKey.
-
getNeedLeader
public boolean getNeedLeader()need leader [required] if true, the backup request will be sent to leader of the region. default is true .
bool need_leader = 13;- Specified by:
getNeedLeaderin interfaceStore.BackupDataRequestOrBuilder- Returns:
- The needLeader.
-
getRegionTypeValue
public int getRegionTypeValue()region type [required]
.dingodb.pb.common.RegionType region_type = 14;- Specified by:
getRegionTypeValuein interfaceStore.BackupDataRequestOrBuilder- Returns:
- The enum numeric value on the wire for regionType.
-
getRegionType
region type [required]
.dingodb.pb.common.RegionType region_type = 14;- Specified by:
getRegionTypein interfaceStore.BackupDataRequestOrBuilder- Returns:
- The regionType.
-
getBackupTs
backup ts [optional] like "2022-09-08 13:30:00 +08:00"
string backup_ts = 15;- Specified by:
getBackupTsin interfaceStore.BackupDataRequestOrBuilder- Returns:
- The backupTs.
-
getBackupTsBytes
public com.google.protobuf.ByteString getBackupTsBytes()backup ts [optional] like "2022-09-08 13:30:00 +08:00"
string backup_ts = 15;- Specified by:
getBackupTsBytesin interfaceStore.BackupDataRequestOrBuilder- Returns:
- The bytes for backupTs.
-
getBackupTso
public long getBackupTso()backup tso [required] like "1631158200000000000"
int64 backup_tso = 16;- Specified by:
getBackupTsoin interfaceStore.BackupDataRequestOrBuilder- Returns:
- The backupTso.
-
getStoragePath
storage path [optional]
string storage_path = 17;- Specified by:
getStoragePathin interfaceStore.BackupDataRequestOrBuilder- Returns:
- The storagePath.
-
getStoragePathBytes
public com.google.protobuf.ByteString getStoragePathBytes()storage path [optional]
string storage_path = 17;- Specified by:
getStoragePathBytesin interfaceStore.BackupDataRequestOrBuilder- Returns:
- The bytes for storagePath.
-
hasStorageBackend
public boolean hasStorageBackend()The storage backend for backup. default is nfs file system [required]
.dingodb.pb.common.StorageBackend storage_backend = 18;- Specified by:
hasStorageBackendin interfaceStore.BackupDataRequestOrBuilder- Returns:
- Whether the storageBackend field is set.
-
getStorageBackend
The storage backend for backup. default is nfs file system [required]
.dingodb.pb.common.StorageBackend storage_backend = 18;- Specified by:
getStorageBackendin interfaceStore.BackupDataRequestOrBuilder- Returns:
- The storageBackend.
-
getStorageBackendOrBuilder
The storage backend for backup. default is nfs file system [required]
.dingodb.pb.common.StorageBackend storage_backend = 18;- Specified by:
getStorageBackendOrBuilderin interfaceStore.BackupDataRequestOrBuilder
-
getCompressionTypeValue
public int getCompressionTypeValue()algorithm used for compress sst files [optional] currently not supported.
.dingodb.pb.common.CompressionType compression_type = 19;- Specified by:
getCompressionTypeValuein interfaceStore.BackupDataRequestOrBuilder- Returns:
- The enum numeric value on the wire for compressionType.
-
getCompressionType
algorithm used for compress sst files [optional] currently not supported.
.dingodb.pb.common.CompressionType compression_type = 19;- Specified by:
getCompressionTypein interfaceStore.BackupDataRequestOrBuilder- Returns:
- The compressionType.
-
getCompressionLevel
public int getCompressionLevel()sst compression level, some algorithms support negative compression levels [optional] currently not supported.
int32 compression_level = 20;- Specified by:
getCompressionLevelin interfaceStore.BackupDataRequestOrBuilder- Returns:
- The compressionLevel.
-
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 Store.BackupDataRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Store.BackupDataRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Store.BackupDataRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Store.BackupDataRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Store.BackupDataRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Store.BackupDataRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Store.BackupDataRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Store.BackupDataRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Store.BackupDataRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Store.BackupDataRequest 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 Store.BackupDataRequest.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
-