@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class BackupTOptions extends Object implements org.apache.thrift.TBase<BackupTOptions,BackupTOptions._Fields>, Serializable, Cloneable, Comparable<BackupTOptions>
Modifier and Type | Class and Description |
---|---|
static class |
BackupTOptions._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<BackupTOptions._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
BackupTOptions() |
BackupTOptions(BackupTOptions other)
Performs a deep copy on other.
|
BackupTOptions(String targetDirectory,
boolean localFileSystem) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(BackupTOptions other) |
BackupTOptions |
deepCopy() |
boolean |
equals(BackupTOptions that) |
boolean |
equals(Object that) |
BackupTOptions._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(BackupTOptions._Fields field) |
String |
getTargetDirectory() |
int |
hashCode() |
boolean |
isLocalFileSystem() |
boolean |
isSet(BackupTOptions._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetLocalFileSystem()
Returns true if field localFileSystem is set (has been assigned a value) and false otherwise
|
boolean |
isSetTargetDirectory()
Returns true if field targetDirectory is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(BackupTOptions._Fields field,
Object value) |
BackupTOptions |
setLocalFileSystem(boolean localFileSystem) |
void |
setLocalFileSystemIsSet(boolean value) |
BackupTOptions |
setTargetDirectory(String targetDirectory) |
void |
setTargetDirectoryIsSet(boolean value) |
String |
toString() |
void |
unsetLocalFileSystem() |
void |
unsetTargetDirectory() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<BackupTOptions._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public BackupTOptions()
public BackupTOptions(String targetDirectory, boolean localFileSystem)
public BackupTOptions(BackupTOptions other)
public BackupTOptions deepCopy()
deepCopy
in interface org.apache.thrift.TBase<BackupTOptions,BackupTOptions._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<BackupTOptions,BackupTOptions._Fields>
public String getTargetDirectory()
public BackupTOptions setTargetDirectory(String targetDirectory)
public void unsetTargetDirectory()
public boolean isSetTargetDirectory()
public void setTargetDirectoryIsSet(boolean value)
public boolean isLocalFileSystem()
public BackupTOptions setLocalFileSystem(boolean localFileSystem)
public void unsetLocalFileSystem()
public boolean isSetLocalFileSystem()
public void setLocalFileSystemIsSet(boolean value)
public void setFieldValue(BackupTOptions._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<BackupTOptions,BackupTOptions._Fields>
public Object getFieldValue(BackupTOptions._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<BackupTOptions,BackupTOptions._Fields>
public boolean isSet(BackupTOptions._Fields field)
isSet
in interface org.apache.thrift.TBase<BackupTOptions,BackupTOptions._Fields>
public boolean equals(BackupTOptions that)
public int compareTo(BackupTOptions other)
compareTo
in interface Comparable<BackupTOptions>
public BackupTOptions._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<BackupTOptions,BackupTOptions._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<BackupTOptions,BackupTOptions._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<BackupTOptions,BackupTOptions._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2023. All Rights Reserved.