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 class
ProfileRequest._Fields
The 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 void
clear()
int
compareTo(ProfileRequest other)
ProfileRequest
deepCopy()
boolean
equals(Object that)
boolean
equals(ProfileRequest that)
ProfileRequest._Fields
fieldForId(int fieldId)
ProfileAction
get_action()
NodeInfo
get_nodeInfo()
long
get_time_stamp()
Object
getFieldValue(ProfileRequest._Fields field)
int
hashCode()
boolean
is_set_action()
Returns true if field action is set (has been assigned a value) and false otherwiseboolean
is_set_nodeInfo()
Returns true if field nodeInfo is set (has been assigned a value) and false otherwiseboolean
is_set_time_stamp()
Returns true if field time_stamp is set (has been assigned a value) and false otherwiseboolean
isSet(ProfileRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoid
read(org.apache.storm.thrift.protocol.TProtocol iprot)
void
set_action(ProfileAction action)
void
set_action_isSet(boolean value)
void
set_nodeInfo(NodeInfo nodeInfo)
void
set_nodeInfo_isSet(boolean value)
void
set_time_stamp(long time_stamp)
void
set_time_stamp_isSet(boolean value)
void
setFieldValue(ProfileRequest._Fields field, Object value)
String
toString()
void
unset_action()
void
unset_nodeInfo()
void
unset_time_stamp()
void
validate()
void
write(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:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<ProfileRequest,ProfileRequest._Fields>
-
clear
public void clear()
- Specified by:
clear
in 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:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<ProfileRequest,ProfileRequest._Fields>
-
getFieldValue
public Object getFieldValue(ProfileRequest._Fields field)
- Specified by:
getFieldValue
in 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:
isSet
in interfaceorg.apache.storm.thrift.TBase<ProfileRequest,ProfileRequest._Fields>
-
equals
public boolean equals(ProfileRequest that)
-
compareTo
public int compareTo(ProfileRequest other)
- Specified by:
compareTo
in interfaceComparable<ProfileRequest>
-
fieldForId
public ProfileRequest._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in 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:
read
in 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:
write
in 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
-
-