public class MemberChangeReq extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<MemberChangeReq>
| Modifier and Type | Class and Description |
|---|---|
static class |
MemberChangeReq.Builder |
| Modifier and Type | Field and Description |
|---|---|
boolean |
add |
static int |
ADD |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
int |
part_id |
static int |
PART_ID |
HostAddr |
peer |
static int |
PEER |
int |
space_id |
static int |
SPACE_ID |
| Constructor and Description |
|---|
MemberChangeReq() |
MemberChangeReq(int space_id,
int part_id,
HostAddr peer,
boolean add) |
MemberChangeReq(MemberChangeReq other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
static MemberChangeReq.Builder |
builder() |
int |
compareTo(MemberChangeReq other) |
MemberChangeReq |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
Object |
getFieldValue(int fieldID) |
int |
getPart_id() |
HostAddr |
getPeer() |
int |
getSpace_id() |
int |
hashCode() |
boolean |
isAdd() |
boolean |
isSetAdd() |
boolean |
isSetPart_id() |
boolean |
isSetPeer() |
boolean |
isSetSpace_id() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
MemberChangeReq |
setAdd(boolean add) |
void |
setAddIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
MemberChangeReq |
setPart_id(int part_id) |
void |
setPart_idIsSet(boolean __value) |
MemberChangeReq |
setPeer(HostAddr peer) |
void |
setPeerIsSet(boolean __value) |
MemberChangeReq |
setSpace_id(int space_id) |
void |
setSpace_idIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetAdd() |
void |
unsetPart_id() |
void |
unsetPeer() |
void |
unsetSpace_id() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public int space_id
public int part_id
public HostAddr peer
public boolean add
public static final int SPACE_ID
public static final int PART_ID
public static final int PEER
public static final int ADD
public MemberChangeReq()
public MemberChangeReq(int space_id,
int part_id,
HostAddr peer,
boolean add)
public MemberChangeReq(MemberChangeReq other)
public static MemberChangeReq.Builder builder()
public MemberChangeReq deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic int getSpace_id()
public MemberChangeReq setSpace_id(int space_id)
public void unsetSpace_id()
public boolean isSetSpace_id()
public void setSpace_idIsSet(boolean __value)
public int getPart_id()
public MemberChangeReq setPart_id(int part_id)
public void unsetPart_id()
public boolean isSetPart_id()
public void setPart_idIsSet(boolean __value)
public HostAddr getPeer()
public MemberChangeReq setPeer(HostAddr peer)
public void unsetPeer()
public boolean isSetPeer()
public void setPeerIsSet(boolean __value)
public boolean isAdd()
public MemberChangeReq setAdd(boolean add)
public void unsetAdd()
public boolean isSetAdd()
public void setAddIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(MemberChangeReq other)
compareTo in interface Comparable<MemberChangeReq>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.