Package org.apache.storm.generated
Class LogLevel
java.lang.Object
org.apache.storm.generated.LogLevel
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<LogLevel>
,org.apache.storm.thrift.TBase<LogLevel,
,LogLevel._Fields> org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.13.0)")
public class LogLevel
extends Object
implements org.apache.storm.thrift.TBase<LogLevel,LogLevel._Fields>, Serializable, Cloneable, Comparable<LogLevel>
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Modifier and TypeFieldDescriptionstatic final Map<LogLevel._Fields,
org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
int
deepCopy()
boolean
boolean
fieldForId
(int fieldId) long
int
getFieldValue
(LogLevel._Fields field) int
hashCode()
boolean
Returns true if field action is set (has been assigned a value) and false otherwiseboolean
Returns true if field reset_log_level is set (has been assigned a value) and false otherwiseboolean
Returns true if field reset_log_level_timeout_epoch is set (has been assigned a value) and false otherwiseboolean
Returns true if field reset_log_level_timeout_secs is set (has been assigned a value) and false otherwiseboolean
Returns true if field target_log_level is set (has been assigned a value) and false otherwiseboolean
isSet
(LogLevel._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoid
read
(org.apache.storm.thrift.protocol.TProtocol iprot) void
set_action
(LogLevelAction action) void
set_action_isSet
(boolean value) void
set_reset_log_level
(String reset_log_level) void
set_reset_log_level_isSet
(boolean value) void
set_reset_log_level_timeout_epoch
(long reset_log_level_timeout_epoch) void
set_reset_log_level_timeout_epoch_isSet
(boolean value) void
set_reset_log_level_timeout_secs
(int reset_log_level_timeout_secs) void
set_reset_log_level_timeout_secs_isSet
(boolean value) void
set_target_log_level
(String target_log_level) void
set_target_log_level_isSet
(boolean value) void
setFieldValue
(LogLevel._Fields field, Object value) toString()
void
void
void
void
void
void
validate()
void
write
(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<LogLevel._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
LogLevel
public LogLevel() -
LogLevel
-
LogLevel
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<LogLevel,
LogLevel._Fields>
-
clear
public void clear()- Specified by:
clear
in interfaceorg.apache.storm.thrift.TBase<LogLevel,
LogLevel._Fields>
-
get_action
- See Also:
-
set_action
- See Also:
-
unset_action
public void unset_action() -
is_set_action
public boolean is_set_action()Returns true if field action is set (has been assigned a value) and false otherwise -
set_action_isSet
public void set_action_isSet(boolean value) -
get_target_log_level
-
set_target_log_level
-
unset_target_log_level
public void unset_target_log_level() -
is_set_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 -
set_target_log_level_isSet
public void set_target_log_level_isSet(boolean value) -
get_reset_log_level_timeout_secs
public int get_reset_log_level_timeout_secs() -
set_reset_log_level_timeout_secs
public void set_reset_log_level_timeout_secs(int reset_log_level_timeout_secs) -
unset_reset_log_level_timeout_secs
public void unset_reset_log_level_timeout_secs() -
is_set_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 -
set_reset_log_level_timeout_secs_isSet
public void set_reset_log_level_timeout_secs_isSet(boolean value) -
get_reset_log_level_timeout_epoch
public long get_reset_log_level_timeout_epoch() -
set_reset_log_level_timeout_epoch
public void set_reset_log_level_timeout_epoch(long reset_log_level_timeout_epoch) -
unset_reset_log_level_timeout_epoch
public void unset_reset_log_level_timeout_epoch() -
is_set_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 -
set_reset_log_level_timeout_epoch_isSet
public void set_reset_log_level_timeout_epoch_isSet(boolean value) -
get_reset_log_level
-
set_reset_log_level
-
unset_reset_log_level
public void unset_reset_log_level() -
is_set_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 -
set_reset_log_level_isSet
public void set_reset_log_level_isSet(boolean value) -
setFieldValue
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<LogLevel,
LogLevel._Fields>
-
getFieldValue
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<LogLevel,
LogLevel._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.storm.thrift.TBase<LogLevel,
LogLevel._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<LogLevel>
-
fieldForId
- Specified by:
fieldForId
in interfaceorg.apache.storm.thrift.TBase<LogLevel,
LogLevel._Fields>
-
read
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException - Specified by:
read
in interfaceorg.apache.storm.thrift.TSerializable
- Throws:
org.apache.storm.thrift.TException
-
write
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException - Specified by:
write
in interfaceorg.apache.storm.thrift.TSerializable
- Throws:
org.apache.storm.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-