public static class Supervisor.sendSupervisorWorkerHeartbeat_args extends Object implements org.apache.storm.thrift.TBase<Supervisor.sendSupervisorWorkerHeartbeat_args,Supervisor.sendSupervisorWorkerHeartbeat_args._Fields>, Serializable, Cloneable, Comparable<Supervisor.sendSupervisorWorkerHeartbeat_args>
Modifier and Type | Class and Description |
---|---|
static class |
Supervisor.sendSupervisorWorkerHeartbeat_args._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<Supervisor.sendSupervisorWorkerHeartbeat_args._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
sendSupervisorWorkerHeartbeat_args() |
sendSupervisorWorkerHeartbeat_args(Supervisor.sendSupervisorWorkerHeartbeat_args other)
Performs a deep copy on other.
|
sendSupervisorWorkerHeartbeat_args(SupervisorWorkerHeartbeat heartbeat) |
public static final Map<Supervisor.sendSupervisorWorkerHeartbeat_args._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public sendSupervisorWorkerHeartbeat_args()
public sendSupervisorWorkerHeartbeat_args(SupervisorWorkerHeartbeat heartbeat)
public sendSupervisorWorkerHeartbeat_args(Supervisor.sendSupervisorWorkerHeartbeat_args other)
Performs a deep copy on other.
public Supervisor.sendSupervisorWorkerHeartbeat_args deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<Supervisor.sendSupervisorWorkerHeartbeat_args,Supervisor.sendSupervisorWorkerHeartbeat_args._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<Supervisor.sendSupervisorWorkerHeartbeat_args,Supervisor.sendSupervisorWorkerHeartbeat_args._Fields>
public SupervisorWorkerHeartbeat get_heartbeat()
public void set_heartbeat(SupervisorWorkerHeartbeat heartbeat)
public void unset_heartbeat()
public boolean is_set_heartbeat()
Returns true if field heartbeat is set (has been assigned a value) and false otherwise
public void set_heartbeat_isSet(boolean value)
public void setFieldValue(Supervisor.sendSupervisorWorkerHeartbeat_args._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<Supervisor.sendSupervisorWorkerHeartbeat_args,Supervisor.sendSupervisorWorkerHeartbeat_args._Fields>
public Object getFieldValue(Supervisor.sendSupervisorWorkerHeartbeat_args._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<Supervisor.sendSupervisorWorkerHeartbeat_args,Supervisor.sendSupervisorWorkerHeartbeat_args._Fields>
public boolean isSet(Supervisor.sendSupervisorWorkerHeartbeat_args._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<Supervisor.sendSupervisorWorkerHeartbeat_args,Supervisor.sendSupervisorWorkerHeartbeat_args._Fields>
public boolean equals(Supervisor.sendSupervisorWorkerHeartbeat_args that)
public int compareTo(Supervisor.sendSupervisorWorkerHeartbeat_args other)
compareTo
in interface Comparable<Supervisor.sendSupervisorWorkerHeartbeat_args>
public Supervisor.sendSupervisorWorkerHeartbeat_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<Supervisor.sendSupervisorWorkerHeartbeat_args,Supervisor.sendSupervisorWorkerHeartbeat_args._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.