Package org.apache.storm.generated
Class ProfileRequest
- java.lang.Object
-
- org.apache.storm.generated.ProfileRequest
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ProfileRequest>,org.apache.storm.thrift.TBase<ProfileRequest,ProfileRequest._Fields>,org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)") public class ProfileRequest extends Object implements org.apache.storm.thrift.TBase<ProfileRequest,ProfileRequest._Fields>, Serializable, Cloneable, Comparable<ProfileRequest>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProfileRequest._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<ProfileRequest._Fields,org.apache.storm.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description ProfileRequest()ProfileRequest(NodeInfo nodeInfo, ProfileAction action)ProfileRequest(ProfileRequest other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(ProfileRequest other)ProfileRequestdeepCopy()booleanequals(Object that)booleanequals(ProfileRequest that)ProfileRequest._FieldsfieldForId(int fieldId)ProfileActionget_action()NodeInfoget_nodeInfo()longget_time_stamp()ObjectgetFieldValue(ProfileRequest._Fields field)inthashCode()booleanis_set_action()Returns true if field action is set (has been assigned a value) and false otherwisebooleanis_set_nodeInfo()Returns true if field nodeInfo is set (has been assigned a value) and false otherwisebooleanis_set_time_stamp()Returns true if field time_stamp is set (has been assigned a value) and false otherwisebooleanisSet(ProfileRequest._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)voidset_action(ProfileAction action)voidset_action_isSet(boolean value)voidset_nodeInfo(NodeInfo nodeInfo)voidset_nodeInfo_isSet(boolean value)voidset_time_stamp(long time_stamp)voidset_time_stamp_isSet(boolean value)voidsetFieldValue(ProfileRequest._Fields field, Object value)StringtoString()voidunset_action()voidunset_nodeInfo()voidunset_time_stamp()voidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<ProfileRequest._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
ProfileRequest
public ProfileRequest()
-
ProfileRequest
public ProfileRequest(NodeInfo nodeInfo, ProfileAction action)
-
ProfileRequest
public ProfileRequest(ProfileRequest other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public ProfileRequest deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.storm.thrift.TBase<ProfileRequest,ProfileRequest._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.storm.thrift.TBase<ProfileRequest,ProfileRequest._Fields>
-
get_nodeInfo
public NodeInfo get_nodeInfo()
-
set_nodeInfo
public void set_nodeInfo(NodeInfo nodeInfo)
-
unset_nodeInfo
public void unset_nodeInfo()
-
is_set_nodeInfo
public boolean is_set_nodeInfo()
Returns true if field nodeInfo is set (has been assigned a value) and false otherwise
-
set_nodeInfo_isSet
public void set_nodeInfo_isSet(boolean value)
-
get_action
public ProfileAction get_action()
- See Also:
ProfileAction
-
set_action
public void set_action(ProfileAction action)
- See Also:
ProfileAction
-
unset_action
public void unset_action()
-
is_set_action
public boolean is_set_action()
Returns true if field action is set (has been assigned a value) and false otherwise
-
set_action_isSet
public void set_action_isSet(boolean value)
-
get_time_stamp
public long get_time_stamp()
-
set_time_stamp
public void set_time_stamp(long time_stamp)
-
unset_time_stamp
public void unset_time_stamp()
-
is_set_time_stamp
public boolean is_set_time_stamp()
Returns true if field time_stamp is set (has been assigned a value) and false otherwise
-
set_time_stamp_isSet
public void set_time_stamp_isSet(boolean value)
-
setFieldValue
public void setFieldValue(ProfileRequest._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<ProfileRequest,ProfileRequest._Fields>
-
getFieldValue
public Object getFieldValue(ProfileRequest._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<ProfileRequest,ProfileRequest._Fields>
-
isSet
public boolean isSet(ProfileRequest._Fields field)
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<ProfileRequest,ProfileRequest._Fields>
-
equals
public boolean equals(ProfileRequest that)
-
compareTo
public int compareTo(ProfileRequest other)
- Specified by:
compareToin interfaceComparable<ProfileRequest>
-
fieldForId
public ProfileRequest._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.storm.thrift.TBase<ProfileRequest,ProfileRequest._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
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-
-