@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class ProfileRequest extends Object implements org.apache.storm.thrift.TBase<ProfileRequest,ProfileRequest._Fields>, Serializable, Cloneable, Comparable<ProfileRequest>
Modifier and Type | Class and Description |
---|---|
static class |
ProfileRequest._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<ProfileRequest._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ProfileRequest() |
ProfileRequest(NodeInfo nodeInfo,
ProfileAction action) |
ProfileRequest(ProfileRequest other)
Performs a deep copy on other.
|
Modifier and Type | Method and 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 otherwise
|
boolean |
is_set_nodeInfo()
Returns true if field nodeInfo is set (has been assigned a value) and false otherwise
|
boolean |
is_set_time_stamp()
Returns true if field time_stamp is set (has been assigned a value) and false otherwise
|
boolean |
isSet(ProfileRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.storm.thrift.protocol.TProtocol iprot) |
void |
set_action_isSet(boolean value) |
void |
set_action(ProfileAction action) |
void |
set_nodeInfo_isSet(boolean value) |
void |
set_nodeInfo(NodeInfo nodeInfo) |
void |
set_time_stamp_isSet(boolean value) |
void |
set_time_stamp(long time_stamp) |
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) |
public static final Map<ProfileRequest._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public ProfileRequest()
public ProfileRequest(NodeInfo nodeInfo, ProfileAction action)
public ProfileRequest(ProfileRequest other)
public ProfileRequest deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<ProfileRequest,ProfileRequest._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<ProfileRequest,ProfileRequest._Fields>
public NodeInfo get_nodeInfo()
public void set_nodeInfo(NodeInfo nodeInfo)
public void unset_nodeInfo()
public boolean is_set_nodeInfo()
public void set_nodeInfo_isSet(boolean value)
public ProfileAction get_action()
ProfileAction
public void set_action(ProfileAction action)
ProfileAction
public void unset_action()
public boolean is_set_action()
public void set_action_isSet(boolean value)
public long get_time_stamp()
public void set_time_stamp(long time_stamp)
public void unset_time_stamp()
public boolean is_set_time_stamp()
public void set_time_stamp_isSet(boolean value)
public void setFieldValue(ProfileRequest._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<ProfileRequest,ProfileRequest._Fields>
public Object getFieldValue(ProfileRequest._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<ProfileRequest,ProfileRequest._Fields>
public boolean isSet(ProfileRequest._Fields field)
isSet
in interface org.apache.storm.thrift.TBase<ProfileRequest,ProfileRequest._Fields>
public boolean equals(ProfileRequest that)
public int compareTo(ProfileRequest other)
compareTo
in interface Comparable<ProfileRequest>
public ProfileRequest._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<ProfileRequest,ProfileRequest._Fields>
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException
read
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException
write
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void validate() throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
Copyright © 2023 The Apache Software Foundation. All rights reserved.