Package org.apache.storm.generated
Class ErrorInfo
java.lang.Object
org.apache.storm.generated.ErrorInfo
- All Implemented Interfaces:
- Serializable,- Cloneable,- Comparable<ErrorInfo>,- org.apache.storm.thrift.TBase<ErrorInfo,,- ErrorInfo._Fields> - org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class ErrorInfo
extends Object
implements org.apache.storm.thrift.TBase<ErrorInfo,ErrorInfo._Fields>, Serializable, Cloneable, Comparable<ErrorInfo> 
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Map<ErrorInfo._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) intget_host()intget_port()getFieldValue(ErrorInfo._Fields field) inthashCode()booleanReturns true if field error is set (has been assigned a value) and false otherwisebooleanReturns true if field error_time_secs is set (has been assigned a value) and false otherwisebooleanReturns true if field host is set (has been assigned a value) and false otherwisebooleanReturns true if field port is set (has been assigned a value) and false otherwisebooleanisSet(ErrorInfo._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidread(org.apache.storm.thrift.protocol.TProtocol iprot) voidvoidset_error_isSet(boolean value) voidset_error_time_secs(int error_time_secs) voidset_error_time_secs_isSet(boolean value) voidvoidset_host_isSet(boolean value) voidset_port(int port) voidset_port_isSet(boolean value) voidsetFieldValue(ErrorInfo._Fields field, Object value) toString()voidvoidvoidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot) 
- 
Field Details- 
metaDataMappublic static final Map<ErrorInfo._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
ErrorInfopublic ErrorInfo()
- 
ErrorInfo
- 
ErrorInfoPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<ErrorInfo,- ErrorInfo._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<ErrorInfo,- ErrorInfo._Fields> 
 
- 
get_error
- 
set_error
- 
unset_errorpublic void unset_error()
- 
is_set_errorpublic boolean is_set_error()Returns true if field error is set (has been assigned a value) and false otherwise
- 
set_error_isSetpublic void set_error_isSet(boolean value) 
- 
get_error_time_secspublic int get_error_time_secs()
- 
set_error_time_secspublic void set_error_time_secs(int error_time_secs) 
- 
unset_error_time_secspublic void unset_error_time_secs()
- 
is_set_error_time_secspublic boolean is_set_error_time_secs()Returns true if field error_time_secs is set (has been assigned a value) and false otherwise
- 
set_error_time_secs_isSetpublic void set_error_time_secs_isSet(boolean value) 
- 
get_host
- 
set_host
- 
unset_hostpublic void unset_host()
- 
is_set_hostpublic boolean is_set_host()Returns true if field host is set (has been assigned a value) and false otherwise
- 
set_host_isSetpublic void set_host_isSet(boolean value) 
- 
get_portpublic int get_port()
- 
set_portpublic void set_port(int port) 
- 
unset_portpublic void unset_port()
- 
is_set_portpublic boolean is_set_port()Returns true if field port is set (has been assigned a value) and false otherwise
- 
set_port_isSetpublic void set_port_isSet(boolean value) 
- 
setFieldValue- Specified by:
- setFieldValuein interface- org.apache.storm.thrift.TBase<ErrorInfo,- ErrorInfo._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<ErrorInfo,- ErrorInfo._Fields> 
 
- 
isSetReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
- isSetin interface- org.apache.storm.thrift.TBase<ErrorInfo,- ErrorInfo._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<ErrorInfo>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<ErrorInfo,- ErrorInfo._Fields> 
 
- 
readpublic void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException - Specified by:
- readin interface- org.apache.storm.thrift.TSerializable
- Throws:
- org.apache.storm.thrift.TException
 
- 
writepublic void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException - Specified by:
- writein interface- org.apache.storm.thrift.TSerializable
- Throws:
- org.apache.storm.thrift.TException
 
- 
toString
- 
validatepublic void validate() throws org.apache.storm.thrift.TException- Throws:
- org.apache.storm.thrift.TException
 
 
-