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:
  • 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

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasRequestInfo

      public boolean hasRequestInfo()
      .dingodb.pb.common.RequestInfo request_info = 1;
      Specified by:
      hasRequestInfo in interface Store.RestoreMetaRequestOrBuilder
      Returns:
      Whether the requestInfo field is set.
    • getRequestInfo

      public Common.RequestInfo getRequestInfo()
      .dingodb.pb.common.RequestInfo request_info = 1;
      Specified by:
      getRequestInfo in interface Store.RestoreMetaRequestOrBuilder
      Returns:
      The requestInfo.
    • getRequestInfoOrBuilder

      public Common.RequestInfoOrBuilder getRequestInfoOrBuilder()
      .dingodb.pb.common.RequestInfo request_info = 1;
      Specified by:
      getRequestInfoOrBuilder in interface Store.RestoreMetaRequestOrBuilder
    • hasContext

      public boolean hasContext()
      .dingodb.pb.store.Context context = 2;
      Specified by:
      hasContext in interface Store.RestoreMetaRequestOrBuilder
      Returns:
      Whether the context field is set.
    • getContext

      public Store.Context getContext()
      .dingodb.pb.store.Context context = 2;
      Specified by:
      getContext in interface Store.RestoreMetaRequestOrBuilder
      Returns:
      The context.
    • getContextOrBuilder

      public Store.ContextOrBuilder getContextOrBuilder()
      .dingodb.pb.store.Context context = 2;
      Specified by:
      getContextOrBuilder in interface Store.RestoreMetaRequestOrBuilder
    • getStartKey

      public com.google.protobuf.ByteString getStartKey()
       region start key
       
      bytes start_key = 3;
      Specified by:
      getStartKey in interface Store.RestoreMetaRequestOrBuilder
      Returns:
      The startKey.
    • getEndKey

      public com.google.protobuf.ByteString getEndKey()
       region end key
       
      bytes end_key = 4;
      Specified by:
      getEndKey in interface Store.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:
      getNeedLeader in interface Store.RestoreMetaRequestOrBuilder
      Returns:
      The needLeader.
    • getRegionTypeValue

      public int getRegionTypeValue()
       region type [required]
       
      .dingodb.pb.common.RegionType region_type = 14;
      Specified by:
      getRegionTypeValue in interface Store.RestoreMetaRequestOrBuilder
      Returns:
      The enum numeric value on the wire for regionType.
    • getRegionType

      public Common.RegionType getRegionType()
       region type [required]
       
      .dingodb.pb.common.RegionType region_type = 14;
      Specified by:
      getRegionType in interface Store.RestoreMetaRequestOrBuilder
      Returns:
      The regionType.
    • getBackupTs

      public String getBackupTs()
       restore ts [optional] like "2022-09-08 13:30:00 +08:00"
       
      string backup_ts = 15;
      Specified by:
      getBackupTs in interface Store.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:
      getBackupTsBytes in interface Store.RestoreMetaRequestOrBuilder
      Returns:
      The bytes for backupTs.
    • getBackupTso

      public long getBackupTso()
       restore tso [optional] like "1631158200000000000"
       
      int64 backup_tso = 16;
      Specified by:
      getBackupTso in interface Store.RestoreMetaRequestOrBuilder
      Returns:
      The backupTso.
    • getStoragePath

      public String getStoragePath()
       storage path [optional]
       
      string storage_path = 17;
      Specified by:
      getStoragePath in interface Store.RestoreMetaRequestOrBuilder
      Returns:
      The storagePath.
    • getStoragePathBytes

      public com.google.protobuf.ByteString getStoragePathBytes()
       storage path [optional]
       
      string storage_path = 17;
      Specified by:
      getStoragePathBytes in interface Store.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:
      hasStorageBackend in interface Store.RestoreMetaRequestOrBuilder
      Returns:
      Whether the storageBackend field is set.
    • getStorageBackend

      public Common.StorageBackend getStorageBackend()
       The storage backend for backup. default is nfs file system [required]
       
      .dingodb.pb.common.StorageBackend storage_backend = 18;
      Specified by:
      getStorageBackend in interface Store.RestoreMetaRequestOrBuilder
      Returns:
      The storageBackend.
    • getStorageBackendOrBuilder

      public Common.StorageBackendOrBuilder getStorageBackendOrBuilder()
       The storage backend for backup. default is nfs file system [required]
       
      .dingodb.pb.common.StorageBackend storage_backend = 18;
      Specified by:
      getStorageBackendOrBuilder in interface Store.RestoreMetaRequestOrBuilder
    • hasSstMetas

      public boolean hasSstMetas()
       restore files meta [required]
       
      .dingodb.pb.common.BackupDataFileValueSstMetaGroup sst_metas = 19;
      Specified by:
      hasSstMetas in interface Store.RestoreMetaRequestOrBuilder
      Returns:
      Whether the sstMetas field is set.
    • getSstMetas

       restore files meta [required]
       
      .dingodb.pb.common.BackupDataFileValueSstMetaGroup sst_metas = 19;
      Specified by:
      getSstMetas in interface Store.RestoreMetaRequestOrBuilder
      Returns:
      The sstMetas.
    • getSstMetasOrBuilder

      public Common.BackupDataFileValueSstMetaGroupOrBuilder getSstMetasOrBuilder()
       restore files meta [required]
       
      .dingodb.pb.common.BackupDataFileValueSstMetaGroup sst_metas = 19;
      Specified by:
      getSstMetasOrBuilder in interface Store.RestoreMetaRequestOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static Store.RestoreMetaRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Store.RestoreMetaRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Store.RestoreMetaRequest parseDelimitedFrom(InputStream input) throws IOException
      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

      public Store.RestoreMetaRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Store.RestoreMetaRequest.Builder newBuilder()
    • newBuilder

      public static Store.RestoreMetaRequest.Builder newBuilder(Store.RestoreMetaRequest prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Store.RestoreMetaRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Store.RestoreMetaRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Store.RestoreMetaRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<Store.RestoreMetaRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Store.RestoreMetaRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder