public class BackupMeta extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<BackupMeta>
| Modifier and Type | Class and Description |
|---|---|
static class |
BackupMeta.Builder |
| Modifier and Type | Field and Description |
|---|---|
boolean |
all_spaces |
static int |
ALL_SPACES |
byte[] |
backup_name |
static int |
BACKUP_NAME |
long |
create_time |
static int |
CREATE_TIME |
boolean |
full |
static int |
FULL |
List<byte[]> |
meta_files |
static int |
META_FILES |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
Map<Integer,SpaceBackupInfo> |
space_backups |
static int |
SPACE_BACKUPS |
| Constructor and Description |
|---|
BackupMeta() |
BackupMeta(BackupMeta other)
Performs a deep copy on other.
|
BackupMeta(Map<Integer,SpaceBackupInfo> space_backups,
List<byte[]> meta_files,
byte[] backup_name,
boolean full,
boolean all_spaces,
long create_time) |
| Modifier and Type | Method and Description |
|---|---|
static BackupMeta.Builder |
builder() |
int |
compareTo(BackupMeta other) |
BackupMeta |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
byte[] |
getBackup_name() |
long |
getCreate_time() |
Object |
getFieldValue(int fieldID) |
List<byte[]> |
getMeta_files() |
Map<Integer,SpaceBackupInfo> |
getSpace_backups() |
int |
hashCode() |
boolean |
isAll_spaces() |
boolean |
isFull() |
boolean |
isSetAll_spaces() |
boolean |
isSetBackup_name() |
boolean |
isSetCreate_time() |
boolean |
isSetFull() |
boolean |
isSetMeta_files() |
boolean |
isSetSpace_backups() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
BackupMeta |
setAll_spaces(boolean all_spaces) |
void |
setAll_spacesIsSet(boolean __value) |
BackupMeta |
setBackup_name(byte[] backup_name) |
void |
setBackup_nameIsSet(boolean __value) |
BackupMeta |
setCreate_time(long create_time) |
void |
setCreate_timeIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
BackupMeta |
setFull(boolean full) |
void |
setFullIsSet(boolean __value) |
BackupMeta |
setMeta_files(List<byte[]> meta_files) |
void |
setMeta_filesIsSet(boolean __value) |
BackupMeta |
setSpace_backups(Map<Integer,SpaceBackupInfo> space_backups) |
void |
setSpace_backupsIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetAll_spaces() |
void |
unsetBackup_name() |
void |
unsetCreate_time() |
void |
unsetFull() |
void |
unsetMeta_files() |
void |
unsetSpace_backups() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public Map<Integer,SpaceBackupInfo> space_backups
public List<byte[]> meta_files
public byte[] backup_name
public boolean full
public boolean all_spaces
public long create_time
public static final int SPACE_BACKUPS
public static final int META_FILES
public static final int BACKUP_NAME
public static final int FULL
public static final int ALL_SPACES
public static final int CREATE_TIME
public BackupMeta()
public BackupMeta(Map<Integer,SpaceBackupInfo> space_backups, List<byte[]> meta_files, byte[] backup_name, boolean full, boolean all_spaces, long create_time)
public BackupMeta(BackupMeta other)
public static BackupMeta.Builder builder()
public BackupMeta deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic Map<Integer,SpaceBackupInfo> getSpace_backups()
public BackupMeta setSpace_backups(Map<Integer,SpaceBackupInfo> space_backups)
public void unsetSpace_backups()
public boolean isSetSpace_backups()
public void setSpace_backupsIsSet(boolean __value)
public List<byte[]> getMeta_files()
public BackupMeta setMeta_files(List<byte[]> meta_files)
public void unsetMeta_files()
public boolean isSetMeta_files()
public void setMeta_filesIsSet(boolean __value)
public byte[] getBackup_name()
public BackupMeta setBackup_name(byte[] backup_name)
public void unsetBackup_name()
public boolean isSetBackup_name()
public void setBackup_nameIsSet(boolean __value)
public boolean isFull()
public BackupMeta setFull(boolean full)
public void unsetFull()
public boolean isSetFull()
public void setFullIsSet(boolean __value)
public boolean isAll_spaces()
public BackupMeta setAll_spaces(boolean all_spaces)
public void unsetAll_spaces()
public boolean isSetAll_spaces()
public void setAll_spacesIsSet(boolean __value)
public long getCreate_time()
public BackupMeta setCreate_time(long create_time)
public void unsetCreate_time()
public boolean isSetCreate_time()
public void setCreate_timeIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(BackupMeta other)
compareTo in interface Comparable<BackupMeta>public void read(com.facebook.thrift.protocol.TProtocol iprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBaseread in interface com.facebook.thrift.TBaseiprot - Input protocolcom.facebook.thrift.TExceptionpublic void write(com.facebook.thrift.protocol.TProtocol oprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBasewrite in interface com.facebook.thrift.TBaseoprot - Output protocolcom.facebook.thrift.TExceptionpublic String toString(int indent, boolean prettyPrint)
com.facebook.thrift.TBasetoString in interface com.facebook.thrift.TBaseindent - The level of indentation desiredprettyPrint - Set pretty printing on/offpublic void validate()
throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionCopyright © 2022. All rights reserved.