@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class NimbusSummary extends Object implements org.apache.thrift.TBase<NimbusSummary,NimbusSummary._Fields>, Serializable, Cloneable, Comparable<NimbusSummary>
Modifier and Type | Class and Description |
---|---|
static class |
NimbusSummary._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<NimbusSummary._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
NimbusSummary() |
NimbusSummary(NimbusSummary other)
Performs a deep copy on other.
|
NimbusSummary(String host,
int port,
int uptime_secs,
boolean isLeader,
String version) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(NimbusSummary other) |
NimbusSummary |
deepCopy() |
boolean |
equals(NimbusSummary that) |
boolean |
equals(Object that) |
NimbusSummary._Fields |
fieldForId(int fieldId) |
String |
get_host() |
int |
get_port() |
int |
get_uptime_secs() |
String |
get_version() |
Object |
getFieldValue(NimbusSummary._Fields field) |
int |
hashCode() |
boolean |
is_isLeader() |
boolean |
is_set_host()
Returns true if field host is set (has been assigned a value) and false otherwise
|
boolean |
is_set_isLeader()
Returns true if field isLeader 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 |
is_set_uptime_secs()
Returns true if field uptime_secs is set (has been assigned a value) and false otherwise
|
boolean |
is_set_version()
Returns true if field version is set (has been assigned a value) and false otherwise
|
boolean |
isSet(NimbusSummary._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_host_isSet(boolean value) |
void |
set_host(String host) |
void |
set_isLeader_isSet(boolean value) |
void |
set_isLeader(boolean isLeader) |
void |
set_port_isSet(boolean value) |
void |
set_port(int port) |
void |
set_uptime_secs_isSet(boolean value) |
void |
set_uptime_secs(int uptime_secs) |
void |
set_version_isSet(boolean value) |
void |
set_version(String version) |
void |
setFieldValue(NimbusSummary._Fields field,
Object value) |
String |
toString() |
void |
unset_host() |
void |
unset_isLeader() |
void |
unset_port() |
void |
unset_uptime_secs() |
void |
unset_version() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<NimbusSummary._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public NimbusSummary()
public NimbusSummary(String host, int port, int uptime_secs, boolean isLeader, String version)
public NimbusSummary(NimbusSummary other)
Performs a deep copy on other.
public NimbusSummary deepCopy()
deepCopy
in interface org.apache.thrift.TBase<NimbusSummary,NimbusSummary._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<NimbusSummary,NimbusSummary._Fields>
public String get_host()
public void set_host(String host)
public void unset_host()
public boolean is_set_host()
Returns true if field host is set (has been assigned a value) and false otherwise
public void set_host_isSet(boolean value)
public int get_port()
public void set_port(int port)
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 int get_uptime_secs()
public void set_uptime_secs(int uptime_secs)
public void unset_uptime_secs()
public boolean is_set_uptime_secs()
Returns true if field uptime_secs is set (has been assigned a value) and false otherwise
public void set_uptime_secs_isSet(boolean value)
public boolean is_isLeader()
public void set_isLeader(boolean isLeader)
public void unset_isLeader()
public boolean is_set_isLeader()
Returns true if field isLeader is set (has been assigned a value) and false otherwise
public void set_isLeader_isSet(boolean value)
public String get_version()
public void set_version(String version)
public void unset_version()
public boolean is_set_version()
Returns true if field version is set (has been assigned a value) and false otherwise
public void set_version_isSet(boolean value)
public void setFieldValue(NimbusSummary._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<NimbusSummary,NimbusSummary._Fields>
public Object getFieldValue(NimbusSummary._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<NimbusSummary,NimbusSummary._Fields>
public boolean isSet(NimbusSummary._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<NimbusSummary,NimbusSummary._Fields>
public boolean equals(NimbusSummary that)
public int compareTo(NimbusSummary other)
compareTo
in interface Comparable<NimbusSummary>
public NimbusSummary._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<NimbusSummary,NimbusSummary._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<NimbusSummary,NimbusSummary._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<NimbusSummary,NimbusSummary._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.