Package io.dingodb.store
Class Store.RestoreMetaRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.store.Store.RestoreMetaRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Store.RestoreMetaRequestOrBuilder,Serializable
- Enclosing class:
- Store
public static final class Store.RestoreMetaRequest
extends com.google.protobuf.GeneratedMessageV3
implements Store.RestoreMetaRequestOrBuilder
Protobuf type
dingodb.pb.store.RestoreMetaRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typedingodb.pb.store.RestoreMetaRequestNested 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 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 TypeMethodDescriptionbooleanrestore ts [optional] like "2022-09-08 13:30:00 +08:00"com.google.protobuf.ByteStringrestore ts [optional] like "2022-09-08 13:30:00 +08:00"longrestore tso [optional] like "1631158200000000000".dingodb.pb.store.Context context = 2;.dingodb.pb.store.Context context = 2;static Store.RestoreMetaRequeststatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.ByteStringregion end keybooleanneed leader [required] if true, the backup request will be sent to leader of the region.com.google.protobuf.Parser<Store.RestoreMetaRequest>region type [required]intregion type [required].dingodb.pb.common.RequestInfo request_info = 1;.dingodb.pb.common.RequestInfo request_info = 1;intrestore files meta [required]restore files meta [required]com.google.protobuf.ByteStringregion start keyThe 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;booleanrestore files meta [required]booleanThe storage backend for backup.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Store.RestoreMetaRequest prototype) protected Store.RestoreMetaRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Store.RestoreMetaRequestparseDelimitedFrom(InputStream input) static Store.RestoreMetaRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Store.RestoreMetaRequestparseFrom(byte[] data) static Store.RestoreMetaRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Store.RestoreMetaRequestparseFrom(com.google.protobuf.ByteString data) static Store.RestoreMetaRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Store.RestoreMetaRequestparseFrom(com.google.protobuf.CodedInputStream input) static Store.RestoreMetaRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Store.RestoreMetaRequestparseFrom(InputStream input) static Store.RestoreMetaRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Store.RestoreMetaRequestparseFrom(ByteBuffer data) static Store.RestoreMetaRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Store.RestoreMetaRequest>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:
-
SST_METAS_FIELD_NUMBER
public static final int SST_METAS_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.RestoreMetaRequestOrBuilder- Returns:
- Whether the requestInfo field is set.
-
getRequestInfo
.dingodb.pb.common.RequestInfo request_info = 1;- Specified by:
getRequestInfoin interfaceStore.RestoreMetaRequestOrBuilder- Returns:
- The requestInfo.
-
getRequestInfoOrBuilder
.dingodb.pb.common.RequestInfo request_info = 1;- Specified by:
getRequestInfoOrBuilderin interfaceStore.RestoreMetaRequestOrBuilder
-
hasContext
public boolean hasContext().dingodb.pb.store.Context context = 2;- Specified by:
hasContextin interfaceStore.RestoreMetaRequestOrBuilder- Returns:
- Whether the context field is set.
-
getContext
.dingodb.pb.store.Context context = 2;- Specified by:
getContextin interfaceStore.RestoreMetaRequestOrBuilder- Returns:
- The context.
-
getContextOrBuilder
.dingodb.pb.store.Context context = 2;- Specified by:
getContextOrBuilderin interfaceStore.RestoreMetaRequestOrBuilder
-
getStartKey
public com.google.protobuf.ByteString getStartKey()region start key
bytes start_key = 3;- Specified by:
getStartKeyin interfaceStore.RestoreMetaRequestOrBuilder- Returns:
- The startKey.
-
getEndKey
public com.google.protobuf.ByteString getEndKey()region end key
bytes end_key = 4;- Specified by:
getEndKeyin interfaceStore.RestoreMetaRequestOrBuilder- 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.RestoreMetaRequestOrBuilder- Returns:
- The needLeader.
-
getRegionTypeValue
public int getRegionTypeValue()region type [required]
.dingodb.pb.common.RegionType region_type = 14;- Specified by:
getRegionTypeValuein interfaceStore.RestoreMetaRequestOrBuilder- 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.RestoreMetaRequestOrBuilder- Returns:
- The regionType.
-
getBackupTs
restore ts [optional] like "2022-09-08 13:30:00 +08:00"
string backup_ts = 15;- Specified by:
getBackupTsin interfaceStore.RestoreMetaRequestOrBuilder- Returns:
- The backupTs.
-
getBackupTsBytes
public com.google.protobuf.ByteString getBackupTsBytes()restore ts [optional] like "2022-09-08 13:30:00 +08:00"
string backup_ts = 15;- Specified by:
getBackupTsBytesin interfaceStore.RestoreMetaRequestOrBuilder- Returns:
- The bytes for backupTs.
-
getBackupTso
public long getBackupTso()restore tso [optional] like "1631158200000000000"
int64 backup_tso = 16;- Specified by:
getBackupTsoin interfaceStore.RestoreMetaRequestOrBuilder- Returns:
- The backupTso.
-
getStoragePath
storage path [optional]
string storage_path = 17;- Specified by:
getStoragePathin interfaceStore.RestoreMetaRequestOrBuilder- Returns:
- The storagePath.
-
getStoragePathBytes
public com.google.protobuf.ByteString getStoragePathBytes()storage path [optional]
string storage_path = 17;- Specified by:
getStoragePathBytesin interfaceStore.RestoreMetaRequestOrBuilder- 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.RestoreMetaRequestOrBuilder- 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.RestoreMetaRequestOrBuilder- 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.RestoreMetaRequestOrBuilder
-
hasSstMetas
public boolean hasSstMetas()restore files meta [required]
.dingodb.pb.common.BackupDataFileValueSstMetaGroup sst_metas = 19;- Specified by:
hasSstMetasin interfaceStore.RestoreMetaRequestOrBuilder- Returns:
- Whether the sstMetas field is set.
-
getSstMetas
restore files meta [required]
.dingodb.pb.common.BackupDataFileValueSstMetaGroup sst_metas = 19;- Specified by:
getSstMetasin interfaceStore.RestoreMetaRequestOrBuilder- Returns:
- The sstMetas.
-
getSstMetasOrBuilder
restore files meta [required]
.dingodb.pb.common.BackupDataFileValueSstMetaGroup sst_metas = 19;- Specified by:
getSstMetasOrBuilderin interfaceStore.RestoreMetaRequestOrBuilder
-
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.RestoreMetaRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Store.RestoreMetaRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Store.RestoreMetaRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Store.RestoreMetaRequest 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.RestoreMetaRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Store.RestoreMetaRequest 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.RestoreMetaRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Store.RestoreMetaRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Store.RestoreMetaRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Store.RestoreMetaRequest 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.RestoreMetaRequest.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
-