public class CreateSpaceAsReq extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<CreateSpaceAsReq>
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateSpaceAsReq.Builder |
| Modifier and Type | Field and Description |
|---|---|
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
byte[] |
new_space_name |
static int |
NEW_SPACE_NAME |
byte[] |
old_space_name |
static int |
OLD_SPACE_NAME |
| Constructor and Description |
|---|
CreateSpaceAsReq() |
CreateSpaceAsReq(byte[] old_space_name,
byte[] new_space_name) |
CreateSpaceAsReq(CreateSpaceAsReq other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
static CreateSpaceAsReq.Builder |
builder() |
int |
compareTo(CreateSpaceAsReq other) |
CreateSpaceAsReq |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
Object |
getFieldValue(int fieldID) |
byte[] |
getNew_space_name() |
byte[] |
getOld_space_name() |
int |
hashCode() |
boolean |
isSetNew_space_name() |
boolean |
isSetOld_space_name() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
void |
setFieldValue(int fieldID,
Object __value) |
CreateSpaceAsReq |
setNew_space_name(byte[] new_space_name) |
void |
setNew_space_nameIsSet(boolean __value) |
CreateSpaceAsReq |
setOld_space_name(byte[] old_space_name) |
void |
setOld_space_nameIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetNew_space_name() |
void |
unsetOld_space_name() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public byte[] old_space_name
public byte[] new_space_name
public static final int OLD_SPACE_NAME
public static final int NEW_SPACE_NAME
public CreateSpaceAsReq()
public CreateSpaceAsReq(byte[] old_space_name,
byte[] new_space_name)
public CreateSpaceAsReq(CreateSpaceAsReq other)
public static CreateSpaceAsReq.Builder builder()
public CreateSpaceAsReq deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic byte[] getOld_space_name()
public CreateSpaceAsReq setOld_space_name(byte[] old_space_name)
public void unsetOld_space_name()
public boolean isSetOld_space_name()
public void setOld_space_nameIsSet(boolean __value)
public byte[] getNew_space_name()
public CreateSpaceAsReq setNew_space_name(byte[] new_space_name)
public void unsetNew_space_name()
public boolean isSetNew_space_name()
public void setNew_space_nameIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(CreateSpaceAsReq other)
compareTo in interface Comparable<CreateSpaceAsReq>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.