@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class DebugOptions extends Object implements org.apache.storm.thrift.TBase<DebugOptions,DebugOptions._Fields>, Serializable, Cloneable, Comparable<DebugOptions>
| Modifier and Type | Class and Description |
|---|---|
static class |
DebugOptions._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<DebugOptions._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
DebugOptions() |
DebugOptions(DebugOptions other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(DebugOptions other) |
DebugOptions |
deepCopy() |
boolean |
equals(DebugOptions that) |
boolean |
equals(Object that) |
DebugOptions._Fields |
fieldForId(int fieldId) |
double |
get_samplingpct() |
Object |
getFieldValue(DebugOptions._Fields field) |
int |
hashCode() |
boolean |
is_enable() |
boolean |
is_set_enable()
Returns true if field enable is set (has been assigned a value) and false otherwise
|
boolean |
is_set_samplingpct()
Returns true if field samplingpct is set (has been assigned a value) and false otherwise
|
boolean |
isSet(DebugOptions._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_enable_isSet(boolean value) |
void |
set_enable(boolean enable) |
void |
set_samplingpct_isSet(boolean value) |
void |
set_samplingpct(double samplingpct) |
void |
setFieldValue(DebugOptions._Fields field,
Object value) |
String |
toString() |
void |
unset_enable() |
void |
unset_samplingpct() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<DebugOptions._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public DebugOptions()
public DebugOptions(DebugOptions other)
Performs a deep copy on other.
public DebugOptions deepCopy()
deepCopy in interface org.apache.storm.thrift.TBase<DebugOptions,DebugOptions._Fields>public void clear()
clear in interface org.apache.storm.thrift.TBase<DebugOptions,DebugOptions._Fields>public boolean is_enable()
public void set_enable(boolean enable)
public void unset_enable()
public boolean is_set_enable()
Returns true if field enable is set (has been assigned a value) and false otherwise
public void set_enable_isSet(boolean value)
public double get_samplingpct()
public void set_samplingpct(double samplingpct)
public void unset_samplingpct()
public boolean is_set_samplingpct()
Returns true if field samplingpct is set (has been assigned a value) and false otherwise
public void set_samplingpct_isSet(boolean value)
public void setFieldValue(DebugOptions._Fields field, Object value)
setFieldValue in interface org.apache.storm.thrift.TBase<DebugOptions,DebugOptions._Fields>public Object getFieldValue(DebugOptions._Fields field)
getFieldValue in interface org.apache.storm.thrift.TBase<DebugOptions,DebugOptions._Fields>public boolean isSet(DebugOptions._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<DebugOptions,DebugOptions._Fields>public boolean equals(DebugOptions that)
public int compareTo(DebugOptions other)
compareTo in interface Comparable<DebugOptions>public DebugOptions._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.storm.thrift.TBase<DebugOptions,DebugOptions._Fields>public void read(org.apache.storm.thrift.protocol.TProtocol iprot)
throws org.apache.storm.thrift.TException
read in interface org.apache.storm.thrift.TSerializableorg.apache.storm.thrift.TExceptionpublic void write(org.apache.storm.thrift.protocol.TProtocol oprot)
throws org.apache.storm.thrift.TException
write in interface org.apache.storm.thrift.TSerializableorg.apache.storm.thrift.TExceptionpublic void validate()
throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.