@Generated(value="Autogenerated by Thrift Compiler (0.12.0)") public class LogLevel extends Object implements org.apache.storm.thrift.TBase<LogLevel,LogLevel._Fields>, Serializable, Cloneable, Comparable<LogLevel>
Modifier and Type | Class and Description |
---|---|
static class |
LogLevel._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<LogLevel._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
LogLevel() |
LogLevel(LogLevel other)
Performs a deep copy on other.
|
LogLevel(LogLevelAction action) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(LogLevel other) |
LogLevel |
deepCopy() |
boolean |
equals(LogLevel that) |
boolean |
equals(Object that) |
LogLevel._Fields |
fieldForId(int fieldId) |
LogLevelAction |
get_action() |
long |
get_reset_log_level_timeout_epoch() |
int |
get_reset_log_level_timeout_secs() |
String |
get_reset_log_level() |
String |
get_target_log_level() |
Object |
getFieldValue(LogLevel._Fields field) |
int |
hashCode() |
boolean |
is_set_action()
Returns true if field action is set (has been assigned a value) and false otherwise
|
boolean |
is_set_reset_log_level_timeout_epoch()
Returns true if field reset_log_level_timeout_epoch is set (has been assigned a value) and false otherwise
|
boolean |
is_set_reset_log_level_timeout_secs()
Returns true if field reset_log_level_timeout_secs is set (has been assigned a value) and false otherwise
|
boolean |
is_set_reset_log_level()
Returns true if field reset_log_level is set (has been assigned a value) and false otherwise
|
boolean |
is_set_target_log_level()
Returns true if field target_log_level is set (has been assigned a value) and false otherwise
|
boolean |
isSet(LogLevel._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.storm.thrift.protocol.TProtocol iprot) |
void |
set_action_isSet(boolean value) |
void |
set_action(LogLevelAction action) |
void |
set_reset_log_level_isSet(boolean value) |
void |
set_reset_log_level_timeout_epoch_isSet(boolean value) |
void |
set_reset_log_level_timeout_epoch(long reset_log_level_timeout_epoch) |
void |
set_reset_log_level_timeout_secs_isSet(boolean value) |
void |
set_reset_log_level_timeout_secs(int reset_log_level_timeout_secs) |
void |
set_reset_log_level(String reset_log_level) |
void |
set_target_log_level_isSet(boolean value) |
void |
set_target_log_level(String target_log_level) |
void |
setFieldValue(LogLevel._Fields field,
Object value) |
String |
toString() |
void |
unset_action() |
void |
unset_reset_log_level_timeout_epoch() |
void |
unset_reset_log_level_timeout_secs() |
void |
unset_reset_log_level() |
void |
unset_target_log_level() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<LogLevel._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public LogLevel()
public LogLevel(LogLevelAction action)
public LogLevel(LogLevel other)
Performs a deep copy on other.
public LogLevel deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<LogLevel,LogLevel._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<LogLevel,LogLevel._Fields>
public LogLevelAction get_action()
LogLevelAction
public void set_action(LogLevelAction action)
LogLevelAction
public void unset_action()
public boolean is_set_action()
Returns true if field action is set (has been assigned a value) and false otherwise
public void set_action_isSet(boolean value)
public String get_target_log_level()
public void set_target_log_level(String target_log_level)
public void unset_target_log_level()
public boolean is_set_target_log_level()
Returns true if field target_log_level is set (has been assigned a value) and false otherwise
public void set_target_log_level_isSet(boolean value)
public int get_reset_log_level_timeout_secs()
public void set_reset_log_level_timeout_secs(int reset_log_level_timeout_secs)
public void unset_reset_log_level_timeout_secs()
public boolean is_set_reset_log_level_timeout_secs()
Returns true if field reset_log_level_timeout_secs is set (has been assigned a value) and false otherwise
public void set_reset_log_level_timeout_secs_isSet(boolean value)
public long get_reset_log_level_timeout_epoch()
public void set_reset_log_level_timeout_epoch(long reset_log_level_timeout_epoch)
public void unset_reset_log_level_timeout_epoch()
public boolean is_set_reset_log_level_timeout_epoch()
Returns true if field reset_log_level_timeout_epoch is set (has been assigned a value) and false otherwise
public void set_reset_log_level_timeout_epoch_isSet(boolean value)
public String get_reset_log_level()
public void set_reset_log_level(String reset_log_level)
public void unset_reset_log_level()
public boolean is_set_reset_log_level()
Returns true if field reset_log_level is set (has been assigned a value) and false otherwise
public void set_reset_log_level_isSet(boolean value)
public void setFieldValue(LogLevel._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<LogLevel,LogLevel._Fields>
public Object getFieldValue(LogLevel._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<LogLevel,LogLevel._Fields>
public boolean isSet(LogLevel._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<LogLevel,LogLevel._Fields>
public boolean equals(LogLevel that)
public int compareTo(LogLevel other)
compareTo
in interface Comparable<LogLevel>
public LogLevel._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<LogLevel,LogLevel._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 © 2019 The Apache Software Foundation. All rights reserved.