public class CreateSessionReq extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<CreateSessionReq>
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateSessionReq.Builder |
| Modifier and Type | Field and Description |
|---|---|
byte[] |
client_ip |
static int |
CLIENT_IP |
HostAddr |
graph_addr |
static int |
GRAPH_ADDR |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
byte[] |
user |
static int |
USER |
| Constructor and Description |
|---|
CreateSessionReq() |
CreateSessionReq(byte[] user,
HostAddr graph_addr,
byte[] client_ip) |
CreateSessionReq(CreateSessionReq other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
static CreateSessionReq.Builder |
builder() |
int |
compareTo(CreateSessionReq other) |
CreateSessionReq |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
byte[] |
getClient_ip() |
Object |
getFieldValue(int fieldID) |
HostAddr |
getGraph_addr() |
byte[] |
getUser() |
int |
hashCode() |
boolean |
isSetClient_ip() |
boolean |
isSetGraph_addr() |
boolean |
isSetUser() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
CreateSessionReq |
setClient_ip(byte[] client_ip) |
void |
setClient_ipIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
CreateSessionReq |
setGraph_addr(HostAddr graph_addr) |
void |
setGraph_addrIsSet(boolean __value) |
CreateSessionReq |
setUser(byte[] user) |
void |
setUserIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetClient_ip() |
void |
unsetGraph_addr() |
void |
unsetUser() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public byte[] user
public HostAddr graph_addr
public byte[] client_ip
public static final int USER
public static final int GRAPH_ADDR
public static final int CLIENT_IP
public CreateSessionReq()
public CreateSessionReq(byte[] user,
HostAddr graph_addr,
byte[] client_ip)
public CreateSessionReq(CreateSessionReq other)
public static CreateSessionReq.Builder builder()
public CreateSessionReq deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic byte[] getUser()
public CreateSessionReq setUser(byte[] user)
public void unsetUser()
public boolean isSetUser()
public void setUserIsSet(boolean __value)
public HostAddr getGraph_addr()
public CreateSessionReq setGraph_addr(HostAddr graph_addr)
public void unsetGraph_addr()
public boolean isSetGraph_addr()
public void setGraph_addrIsSet(boolean __value)
public byte[] getClient_ip()
public CreateSessionReq setClient_ip(byte[] client_ip)
public void unsetClient_ip()
public boolean isSetClient_ip()
public void setClient_ipIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(CreateSessionReq other)
compareTo in interface Comparable<CreateSessionReq>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.