@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class LSTopoHistory extends Object implements org.apache.thrift.TBase<LSTopoHistory,LSTopoHistory._Fields>, Serializable, Cloneable, Comparable<LSTopoHistory>
Modifier and Type | Class and Description |
---|---|
static class |
LSTopoHistory._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<LSTopoHistory._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
LSTopoHistory() |
LSTopoHistory(LSTopoHistory other)
Performs a deep copy on other.
|
LSTopoHistory(String topology_id,
long time_stamp,
List<String> users,
List<String> groups) |
Modifier and Type | Method and Description |
---|---|
void |
add_to_groups(String elem) |
void |
add_to_users(String elem) |
void |
clear() |
int |
compareTo(LSTopoHistory other) |
LSTopoHistory |
deepCopy() |
boolean |
equals(LSTopoHistory that) |
boolean |
equals(Object that) |
LSTopoHistory._Fields |
fieldForId(int fieldId) |
Iterator<String> |
get_groups_iterator() |
int |
get_groups_size() |
List<String> |
get_groups() |
long |
get_time_stamp() |
String |
get_topology_id() |
Iterator<String> |
get_users_iterator() |
int |
get_users_size() |
List<String> |
get_users() |
Object |
getFieldValue(LSTopoHistory._Fields field) |
int |
hashCode() |
boolean |
is_set_groups()
Returns true if field groups 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 |
is_set_topology_id()
Returns true if field topology_id is set (has been assigned a value) and false otherwise
|
boolean |
is_set_users()
Returns true if field users is set (has been assigned a value) and false otherwise
|
boolean |
isSet(LSTopoHistory._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
set_groups_isSet(boolean value) |
void |
set_groups(List<String> groups) |
void |
set_time_stamp_isSet(boolean value) |
void |
set_time_stamp(long time_stamp) |
void |
set_topology_id_isSet(boolean value) |
void |
set_topology_id(String topology_id) |
void |
set_users_isSet(boolean value) |
void |
set_users(List<String> users) |
void |
setFieldValue(LSTopoHistory._Fields field,
Object value) |
String |
toString() |
void |
unset_groups() |
void |
unset_time_stamp() |
void |
unset_topology_id() |
void |
unset_users() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<LSTopoHistory._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public LSTopoHistory()
public LSTopoHistory(String topology_id, long time_stamp, List<String> users, List<String> groups)
public LSTopoHistory(LSTopoHistory other)
Performs a deep copy on other.
public LSTopoHistory deepCopy()
deepCopy
in interface org.apache.thrift.TBase<LSTopoHistory,LSTopoHistory._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<LSTopoHistory,LSTopoHistory._Fields>
public String get_topology_id()
public void set_topology_id(String topology_id)
public void unset_topology_id()
public boolean is_set_topology_id()
Returns true if field topology_id is set (has been assigned a value) and false otherwise
public void set_topology_id_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()
Returns true if field time_stamp is set (has been assigned a value) and false otherwise
public void set_time_stamp_isSet(boolean value)
public int get_users_size()
public void add_to_users(String elem)
public void unset_users()
public boolean is_set_users()
Returns true if field users is set (has been assigned a value) and false otherwise
public void set_users_isSet(boolean value)
public int get_groups_size()
public void add_to_groups(String elem)
public void unset_groups()
public boolean is_set_groups()
Returns true if field groups is set (has been assigned a value) and false otherwise
public void set_groups_isSet(boolean value)
public void setFieldValue(LSTopoHistory._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<LSTopoHistory,LSTopoHistory._Fields>
public Object getFieldValue(LSTopoHistory._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<LSTopoHistory,LSTopoHistory._Fields>
public boolean isSet(LSTopoHistory._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.thrift.TBase<LSTopoHistory,LSTopoHistory._Fields>
public boolean equals(LSTopoHistory that)
public int compareTo(LSTopoHistory other)
compareTo
in interface Comparable<LSTopoHistory>
public LSTopoHistory._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<LSTopoHistory,LSTopoHistory._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<LSTopoHistory,LSTopoHistory._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<LSTopoHistory,LSTopoHistory._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.