@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class SupervisorWorkerHeartbeats extends Object implements org.apache.storm.thrift.TBase<SupervisorWorkerHeartbeats,SupervisorWorkerHeartbeats._Fields>, Serializable, Cloneable, Comparable<SupervisorWorkerHeartbeats>
Modifier and Type | Class and Description |
---|---|
static class |
SupervisorWorkerHeartbeats._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<SupervisorWorkerHeartbeats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
SupervisorWorkerHeartbeats() |
SupervisorWorkerHeartbeats(String supervisor_id,
List<SupervisorWorkerHeartbeat> worker_heartbeats) |
SupervisorWorkerHeartbeats(SupervisorWorkerHeartbeats other)
Performs a deep copy on other.
|
public static final Map<SupervisorWorkerHeartbeats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public SupervisorWorkerHeartbeats()
public SupervisorWorkerHeartbeats(String supervisor_id, List<SupervisorWorkerHeartbeat> worker_heartbeats)
public SupervisorWorkerHeartbeats(SupervisorWorkerHeartbeats other)
Performs a deep copy on other.
public SupervisorWorkerHeartbeats deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<SupervisorWorkerHeartbeats,SupervisorWorkerHeartbeats._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<SupervisorWorkerHeartbeats,SupervisorWorkerHeartbeats._Fields>
public String get_supervisor_id()
public void set_supervisor_id(String supervisor_id)
public void unset_supervisor_id()
public boolean is_set_supervisor_id()
Returns true if field supervisor_id is set (has been assigned a value) and false otherwise
public void set_supervisor_id_isSet(boolean value)
public int get_worker_heartbeats_size()
public Iterator<SupervisorWorkerHeartbeat> get_worker_heartbeats_iterator()
public void add_to_worker_heartbeats(SupervisorWorkerHeartbeat elem)
public List<SupervisorWorkerHeartbeat> get_worker_heartbeats()
public void set_worker_heartbeats(List<SupervisorWorkerHeartbeat> worker_heartbeats)
public void unset_worker_heartbeats()
public boolean is_set_worker_heartbeats()
Returns true if field worker_heartbeats is set (has been assigned a value) and false otherwise
public void set_worker_heartbeats_isSet(boolean value)
public void setFieldValue(SupervisorWorkerHeartbeats._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<SupervisorWorkerHeartbeats,SupervisorWorkerHeartbeats._Fields>
public Object getFieldValue(SupervisorWorkerHeartbeats._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<SupervisorWorkerHeartbeats,SupervisorWorkerHeartbeats._Fields>
public boolean isSet(SupervisorWorkerHeartbeats._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.storm.thrift.TBase<SupervisorWorkerHeartbeats,SupervisorWorkerHeartbeats._Fields>
public boolean equals(SupervisorWorkerHeartbeats that)
public int compareTo(SupervisorWorkerHeartbeats other)
compareTo
in interface Comparable<SupervisorWorkerHeartbeats>
public SupervisorWorkerHeartbeats._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<SupervisorWorkerHeartbeats,SupervisorWorkerHeartbeats._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 © 2022 The Apache Software Foundation. All rights reserved.