|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbacktype.storm.generated.ErrorInfo
public class ErrorInfo
| Nested Class Summary | |
|---|---|
static class |
ErrorInfo._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
| Field Summary | |
|---|---|
static Map<ErrorInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
| Constructor Summary | |
|---|---|
ErrorInfo()
|
|
ErrorInfo(ErrorInfo other)
Performs a deep copy on other. |
|
ErrorInfo(String error,
int error_time_secs)
|
|
| Method Summary | |
|---|---|
void |
clear()
|
int |
compareTo(ErrorInfo other)
|
ErrorInfo |
deepCopy()
|
boolean |
equals(ErrorInfo that)
|
boolean |
equals(Object that)
|
ErrorInfo._Fields |
fieldForId(int fieldId)
|
int |
get_error_time_secs()
|
String |
get_error()
|
String |
get_host()
|
int |
get_port()
|
Object |
getFieldValue(ErrorInfo._Fields field)
|
int |
hashCode()
|
boolean |
is_set_error_time_secs()
Returns true if field error_time_secs is set (has been assigned a value) and false otherwise |
boolean |
is_set_error()
Returns true if field error is set (has been assigned a value) and false otherwise |
boolean |
is_set_host()
Returns true if field host is set (has been assigned a value) and false otherwise |
boolean |
is_set_port()
Returns true if field port is set (has been assigned a value) and false otherwise |
boolean |
isSet(ErrorInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
set_error_isSet(boolean value)
|
void |
set_error_time_secs_isSet(boolean value)
|
void |
set_error_time_secs(int error_time_secs)
|
void |
set_error(String error)
|
void |
set_host_isSet(boolean value)
|
void |
set_host(String host)
|
void |
set_port_isSet(boolean value)
|
void |
set_port(int port)
|
void |
setFieldValue(ErrorInfo._Fields field,
Object value)
|
String |
toString()
|
void |
unset_error_time_secs()
|
void |
unset_error()
|
void |
unset_host()
|
void |
unset_port()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Map<ErrorInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
| Constructor Detail |
|---|
public ErrorInfo()
public ErrorInfo(String error,
int error_time_secs)
public ErrorInfo(ErrorInfo other)
| Method Detail |
|---|
public ErrorInfo deepCopy()
deepCopy in interface org.apache.thrift.TBase<ErrorInfo,ErrorInfo._Fields>public void clear()
clear in interface org.apache.thrift.TBase<ErrorInfo,ErrorInfo._Fields>public String get_error()
public void set_error(String error)
public void unset_error()
public boolean is_set_error()
public void set_error_isSet(boolean value)
public int get_error_time_secs()
public void set_error_time_secs(int error_time_secs)
public void unset_error_time_secs()
public boolean is_set_error_time_secs()
public void set_error_time_secs_isSet(boolean value)
public String get_host()
public void set_host(String host)
public void unset_host()
public boolean is_set_host()
public void set_host_isSet(boolean value)
public int get_port()
public void set_port(int port)
public void unset_port()
public boolean is_set_port()
public void set_port_isSet(boolean value)
public void setFieldValue(ErrorInfo._Fields field,
Object value)
setFieldValue in interface org.apache.thrift.TBase<ErrorInfo,ErrorInfo._Fields>public Object getFieldValue(ErrorInfo._Fields field)
getFieldValue in interface org.apache.thrift.TBase<ErrorInfo,ErrorInfo._Fields>public boolean isSet(ErrorInfo._Fields field)
isSet in interface org.apache.thrift.TBase<ErrorInfo,ErrorInfo._Fields>public boolean equals(Object that)
equals in class Objectpublic boolean equals(ErrorInfo that)
public int hashCode()
hashCode in class Objectpublic int compareTo(ErrorInfo other)
compareTo in interface Comparable<ErrorInfo>public ErrorInfo._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<ErrorInfo,ErrorInfo._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<ErrorInfo,ErrorInfo._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<ErrorInfo,ErrorInfo._Fields>org.apache.thrift.TExceptionpublic String toString()
toString in class Object
public void validate()
throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||