public class AuthResponse extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<AuthResponse>
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthResponse.Builder |
| Modifier and Type | Field and Description |
|---|---|
ErrorCode |
error_code |
static int |
ERROR_CODE |
byte[] |
error_msg |
static int |
ERROR_MSG |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
session_id |
static int |
SESSION_ID |
byte[] |
time_zone_name |
static int |
TIME_ZONE_NAME |
int |
time_zone_offset_seconds |
static int |
TIME_ZONE_OFFSET_SECONDS |
| Constructor and Description |
|---|
AuthResponse() |
AuthResponse(AuthResponse other)
Performs a deep copy on other.
|
AuthResponse(ErrorCode error_code) |
AuthResponse(ErrorCode error_code,
byte[] error_msg,
long session_id,
int time_zone_offset_seconds,
byte[] time_zone_name) |
| Modifier and Type | Method and Description |
|---|---|
static AuthResponse.Builder |
builder() |
int |
compareTo(AuthResponse other) |
AuthResponse |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
ErrorCode |
getError_code() |
byte[] |
getError_msg() |
Object |
getFieldValue(int fieldID) |
long |
getSession_id() |
byte[] |
getTime_zone_name() |
int |
getTime_zone_offset_seconds() |
int |
hashCode() |
boolean |
isSetError_code() |
boolean |
isSetError_msg() |
boolean |
isSetSession_id() |
boolean |
isSetTime_zone_name() |
boolean |
isSetTime_zone_offset_seconds() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
AuthResponse |
setError_code(ErrorCode error_code) |
void |
setError_codeIsSet(boolean __value) |
AuthResponse |
setError_msg(byte[] error_msg) |
void |
setError_msgIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
AuthResponse |
setSession_id(long session_id) |
void |
setSession_idIsSet(boolean __value) |
AuthResponse |
setTime_zone_name(byte[] time_zone_name) |
void |
setTime_zone_nameIsSet(boolean __value) |
AuthResponse |
setTime_zone_offset_seconds(int time_zone_offset_seconds) |
void |
setTime_zone_offset_secondsIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetError_code() |
void |
unsetError_msg() |
void |
unsetSession_id() |
void |
unsetTime_zone_name() |
void |
unsetTime_zone_offset_seconds() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public byte[] error_msg
public long session_id
public int time_zone_offset_seconds
public byte[] time_zone_name
public static final int ERROR_CODE
public static final int ERROR_MSG
public static final int SESSION_ID
public static final int TIME_ZONE_OFFSET_SECONDS
public static final int TIME_ZONE_NAME
public AuthResponse()
public AuthResponse(ErrorCode error_code)
public AuthResponse(ErrorCode error_code, byte[] error_msg, long session_id, int time_zone_offset_seconds, byte[] time_zone_name)
public AuthResponse(AuthResponse other)
public static AuthResponse.Builder builder()
public AuthResponse deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic AuthResponse setError_code(ErrorCode error_code)
ErrorCodepublic void unsetError_code()
public boolean isSetError_code()
public void setError_codeIsSet(boolean __value)
public byte[] getError_msg()
public AuthResponse setError_msg(byte[] error_msg)
public void unsetError_msg()
public boolean isSetError_msg()
public void setError_msgIsSet(boolean __value)
public long getSession_id()
public AuthResponse setSession_id(long session_id)
public void unsetSession_id()
public boolean isSetSession_id()
public void setSession_idIsSet(boolean __value)
public int getTime_zone_offset_seconds()
public AuthResponse setTime_zone_offset_seconds(int time_zone_offset_seconds)
public void unsetTime_zone_offset_seconds()
public boolean isSetTime_zone_offset_seconds()
public void setTime_zone_offset_secondsIsSet(boolean __value)
public byte[] getTime_zone_name()
public AuthResponse setTime_zone_name(byte[] time_zone_name)
public void unsetTime_zone_name()
public boolean isSetTime_zone_name()
public void setTime_zone_nameIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(AuthResponse other)
compareTo in interface Comparable<AuthResponse>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.