Package org.apache.storm.generated
Class LSTopoHistory
- java.lang.Object
-
- org.apache.storm.generated.LSTopoHistory
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<LSTopoHistory>,org.apache.storm.thrift.TBase<LSTopoHistory,LSTopoHistory._Fields>,org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)") public class LSTopoHistory extends Object implements org.apache.storm.thrift.TBase<LSTopoHistory,LSTopoHistory._Fields>, Serializable, Cloneable, Comparable<LSTopoHistory>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLSTopoHistory._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<LSTopoHistory._Fields,org.apache.storm.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description LSTopoHistory()LSTopoHistory(String topology_id, long time_stamp, List<String> users, List<String> groups)LSTopoHistory(LSTopoHistory other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd_to_groups(String elem)voidadd_to_users(String elem)voidclear()intcompareTo(LSTopoHistory other)LSTopoHistorydeepCopy()booleanequals(Object that)booleanequals(LSTopoHistory that)LSTopoHistory._FieldsfieldForId(int fieldId)List<String>get_groups()Iterator<String>get_groups_iterator()intget_groups_size()longget_time_stamp()Stringget_topology_id()List<String>get_users()Iterator<String>get_users_iterator()intget_users_size()ObjectgetFieldValue(LSTopoHistory._Fields field)inthashCode()booleanis_set_groups()Returns true if field groups 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 otherwisebooleanis_set_topology_id()Returns true if field topology_id is set (has been assigned a value) and false otherwisebooleanis_set_users()Returns true if field users is set (has been assigned a value) and false otherwisebooleanisSet(LSTopoHistory._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_groups(List<String> groups)voidset_groups_isSet(boolean value)voidset_time_stamp(long time_stamp)voidset_time_stamp_isSet(boolean value)voidset_topology_id(String topology_id)voidset_topology_id_isSet(boolean value)voidset_users(List<String> users)voidset_users_isSet(boolean value)voidsetFieldValue(LSTopoHistory._Fields field, Object value)StringtoString()voidunset_groups()voidunset_time_stamp()voidunset_topology_id()voidunset_users()voidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<LSTopoHistory._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Method Detail
-
deepCopy
public LSTopoHistory deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.storm.thrift.TBase<LSTopoHistory,LSTopoHistory._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.storm.thrift.TBase<LSTopoHistory,LSTopoHistory._Fields>
-
get_topology_id
public String get_topology_id()
-
set_topology_id
public void set_topology_id(String topology_id)
-
unset_topology_id
public void unset_topology_id()
-
is_set_topology_id
public boolean is_set_topology_id()
Returns true if field topology_id is set (has been assigned a value) and false otherwise
-
set_topology_id_isSet
public void set_topology_id_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)
-
get_users_size
public int get_users_size()
-
add_to_users
public void add_to_users(String elem)
-
unset_users
public void unset_users()
-
is_set_users
public boolean is_set_users()
Returns true if field users is set (has been assigned a value) and false otherwise
-
set_users_isSet
public void set_users_isSet(boolean value)
-
get_groups_size
public int get_groups_size()
-
add_to_groups
public void add_to_groups(String elem)
-
unset_groups
public void unset_groups()
-
is_set_groups
public boolean is_set_groups()
Returns true if field groups is set (has been assigned a value) and false otherwise
-
set_groups_isSet
public void set_groups_isSet(boolean value)
-
setFieldValue
public void setFieldValue(LSTopoHistory._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<LSTopoHistory,LSTopoHistory._Fields>
-
getFieldValue
public Object getFieldValue(LSTopoHistory._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<LSTopoHistory,LSTopoHistory._Fields>
-
isSet
public boolean isSet(LSTopoHistory._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<LSTopoHistory,LSTopoHistory._Fields>
-
equals
public boolean equals(LSTopoHistory that)
-
compareTo
public int compareTo(LSTopoHistory other)
- Specified by:
compareToin interfaceComparable<LSTopoHistory>
-
fieldForId
public LSTopoHistory._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.storm.thrift.TBase<LSTopoHistory,LSTopoHistory._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
-
-