@Generated(value="Autogenerated by Thrift Compiler (0.12.0)") public class NodeInfo extends Object implements org.apache.thrift.TBase<NodeInfo,NodeInfo._Fields>, Serializable, Cloneable, Comparable<NodeInfo>
| Modifier and Type | Class and Description | 
|---|---|
| static class  | NodeInfo._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. | 
| Modifier and Type | Field and Description | 
|---|---|
| static Map<NodeInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> | metaDataMap | 
| Constructor and Description | 
|---|
| NodeInfo() | 
| NodeInfo(NodeInfo other)Performs a deep copy on other. | 
| NodeInfo(String node,
        Set<Long> port) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | add_to_port(long elem) | 
| void | clear() | 
| int | compareTo(NodeInfo other) | 
| NodeInfo | deepCopy() | 
| boolean | equals(NodeInfo that) | 
| boolean | equals(Object that) | 
| NodeInfo._Fields | fieldForId(int fieldId) | 
| String | get_node() | 
| Iterator<Long> | get_port_iterator() | 
| int | get_port_size() | 
| Set<Long> | get_port() | 
| Object | getFieldValue(NodeInfo._Fields field) | 
| int | hashCode() | 
| boolean | is_set_node()Returns true if field node is set (has been assigned a value) and false otherwise | 
| boolean | is_set_port()Returns true if field port is set (has been assigned a value) and false otherwise | 
| boolean | isSet(NodeInfo._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_node_isSet(boolean value) | 
| void | set_node(String node) | 
| void | set_port_isSet(boolean value) | 
| void | set_port(Set<Long> port) | 
| void | setFieldValue(NodeInfo._Fields field,
             Object value) | 
| String | toString() | 
| void | unset_node() | 
| void | unset_port() | 
| void | validate() | 
| void | write(org.apache.thrift.protocol.TProtocol oprot) | 
public static final Map<NodeInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public NodeInfo()
public NodeInfo(NodeInfo other)
Performs a deep copy on other.
public NodeInfo deepCopy()
deepCopy in interface org.apache.thrift.TBase<NodeInfo,NodeInfo._Fields>public void clear()
clear in interface org.apache.thrift.TBase<NodeInfo,NodeInfo._Fields>public String get_node()
public void set_node(String node)
public void unset_node()
public boolean is_set_node()
Returns true if field node is set (has been assigned a value) and false otherwise
public void set_node_isSet(boolean value)
public int get_port_size()
public void add_to_port(long elem)
public void unset_port()
public boolean is_set_port()
Returns true if field port is set (has been assigned a value) and false otherwise
public void set_port_isSet(boolean value)
public void setFieldValue(NodeInfo._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<NodeInfo,NodeInfo._Fields>public Object getFieldValue(NodeInfo._Fields field)
getFieldValue in interface org.apache.thrift.TBase<NodeInfo,NodeInfo._Fields>public boolean isSet(NodeInfo._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<NodeInfo,NodeInfo._Fields>public boolean equals(NodeInfo that)
public int compareTo(NodeInfo other)
compareTo in interface Comparable<NodeInfo>public NodeInfo._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<NodeInfo,NodeInfo._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
              throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2022 The Apache Software Foundation. All Rights Reserved.