Package org.apache.storm.generated
Class NimbusSummary
java.lang.Object
org.apache.storm.generated.NimbusSummary
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<NimbusSummary>,org.apache.storm.thrift.TBase<NimbusSummary,,NimbusSummary._Fields> org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class NimbusSummary
extends Object
implements org.apache.storm.thrift.TBase<NimbusSummary,NimbusSummary._Fields>, Serializable, Cloneable, Comparable<NimbusSummary>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<NimbusSummary._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionNimbusSummary(String host, int port, int uptime_secs, boolean isLeader, String version) NimbusSummary(NimbusSummary other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(NimbusSummary other) deepCopy()booleanbooleanequals(NimbusSummary that) fieldForId(int fieldId) get_host()intget_port()intinthashCode()booleanbooleanReturns true if field host is set (has been assigned a value) and false otherwisebooleanReturns true if field isLeader is set (has been assigned a value) and false otherwisebooleanReturns true if field port is set (has been assigned a value) and false otherwisebooleanReturns true if field uptime_secs is set (has been assigned a value) and false otherwisebooleanReturns true if field version is set (has been assigned a value) and false otherwisebooleanisSet(NimbusSummary._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_host_isSet(boolean value) voidset_isLeader(boolean isLeader) voidset_isLeader_isSet(boolean value) voidset_port(int port) voidset_port_isSet(boolean value) voidset_uptime_secs(int uptime_secs) voidset_uptime_secs_isSet(boolean value) voidset_version(String version) voidset_version_isSet(boolean value) voidsetFieldValue(NimbusSummary._Fields field, Object value) toString()voidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<NimbusSummary._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
NimbusSummary
public NimbusSummary() -
NimbusSummary
-
NimbusSummary
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.storm.thrift.TBase<NimbusSummary,NimbusSummary._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.storm.thrift.TBase<NimbusSummary,NimbusSummary._Fields>
-
get_host
-
set_host
-
unset_host
public void unset_host() -
is_set_host
public boolean is_set_host()Returns true if field host is set (has been assigned a value) and false otherwise -
set_host_isSet
public void set_host_isSet(boolean value) -
get_port
public int get_port() -
set_port
public void set_port(int port) -
unset_port
public void unset_port() -
is_set_port
public boolean is_set_port()Returns true if field port is set (has been assigned a value) and false otherwise -
set_port_isSet
public void set_port_isSet(boolean value) -
get_uptime_secs
public int get_uptime_secs() -
set_uptime_secs
public void set_uptime_secs(int uptime_secs) -
unset_uptime_secs
public void unset_uptime_secs() -
is_set_uptime_secs
public boolean is_set_uptime_secs()Returns true if field uptime_secs is set (has been assigned a value) and false otherwise -
set_uptime_secs_isSet
public void set_uptime_secs_isSet(boolean value) -
is_isLeader
public boolean is_isLeader() -
set_isLeader
public void set_isLeader(boolean isLeader) -
unset_isLeader
public void unset_isLeader() -
is_set_isLeader
public boolean is_set_isLeader()Returns true if field isLeader is set (has been assigned a value) and false otherwise -
set_isLeader_isSet
public void set_isLeader_isSet(boolean value) -
get_version
-
set_version
-
unset_version
public void unset_version() -
is_set_version
public boolean is_set_version()Returns true if field version is set (has been assigned a value) and false otherwise -
set_version_isSet
public void set_version_isSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<NimbusSummary,NimbusSummary._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<NimbusSummary,NimbusSummary._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.storm.thrift.TBase<NimbusSummary,NimbusSummary._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<NimbusSummary>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.storm.thrift.TBase<NimbusSummary,NimbusSummary._Fields>
-
read
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException - Specified by:
readin interfaceorg.apache.storm.thrift.TSerializable- Throws:
org.apache.storm.thrift.TException
-
write
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException - Specified by:
writein interfaceorg.apache.storm.thrift.TSerializable- Throws:
org.apache.storm.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-