public class CreateBackupReq extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<CreateBackupReq>
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateBackupReq.Builder |
| Modifier and Type | Field and Description |
|---|---|
byte[] |
base_backup_name |
static int |
BASE_BACKUP_NAME |
long |
cluster_id |
static int |
CLUSTER_ID |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
List<byte[]> |
spaces |
static int |
SPACES |
| Constructor and Description |
|---|
CreateBackupReq() |
CreateBackupReq(CreateBackupReq other)
Performs a deep copy on other.
|
CreateBackupReq(List<byte[]> spaces,
byte[] base_backup_name,
long cluster_id) |
| Modifier and Type | Method and Description |
|---|---|
static CreateBackupReq.Builder |
builder() |
int |
compareTo(CreateBackupReq other) |
CreateBackupReq |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
byte[] |
getBase_backup_name() |
long |
getCluster_id() |
Object |
getFieldValue(int fieldID) |
List<byte[]> |
getSpaces() |
int |
hashCode() |
boolean |
isSetBase_backup_name() |
boolean |
isSetCluster_id() |
boolean |
isSetSpaces() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
CreateBackupReq |
setBase_backup_name(byte[] base_backup_name) |
void |
setBase_backup_nameIsSet(boolean __value) |
CreateBackupReq |
setCluster_id(long cluster_id) |
void |
setCluster_idIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
CreateBackupReq |
setSpaces(List<byte[]> spaces) |
void |
setSpacesIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetBase_backup_name() |
void |
unsetCluster_id() |
void |
unsetSpaces() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public List<byte[]> spaces
public byte[] base_backup_name
public long cluster_id
public static final int SPACES
public static final int BASE_BACKUP_NAME
public static final int CLUSTER_ID
public CreateBackupReq()
public CreateBackupReq(List<byte[]> spaces, byte[] base_backup_name, long cluster_id)
public CreateBackupReq(CreateBackupReq other)
public static CreateBackupReq.Builder builder()
public CreateBackupReq deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic List<byte[]> getSpaces()
public CreateBackupReq setSpaces(List<byte[]> spaces)
public void unsetSpaces()
public boolean isSetSpaces()
public void setSpacesIsSet(boolean __value)
public byte[] getBase_backup_name()
public CreateBackupReq setBase_backup_name(byte[] base_backup_name)
public void unsetBase_backup_name()
public boolean isSetBase_backup_name()
public void setBase_backup_nameIsSet(boolean __value)
public long getCluster_id()
public CreateBackupReq setCluster_id(long cluster_id)
public void unsetCluster_id()
public boolean isSetCluster_id()
public void setCluster_idIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(CreateBackupReq other)
compareTo in interface Comparable<CreateBackupReq>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 © 2023. All rights reserved.