@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class KeyAlreadyExistsException extends org.apache.storm.thrift.TException implements org.apache.storm.thrift.TBase<KeyAlreadyExistsException,KeyAlreadyExistsException._Fields>, Serializable, Cloneable, Comparable<KeyAlreadyExistsException>
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyAlreadyExistsException._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<KeyAlreadyExistsException._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
KeyAlreadyExistsException() |
KeyAlreadyExistsException(KeyAlreadyExistsException other)
Performs a deep copy on other.
|
KeyAlreadyExistsException(String msg) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(KeyAlreadyExistsException other) |
KeyAlreadyExistsException |
deepCopy() |
boolean |
equals(KeyAlreadyExistsException that) |
boolean |
equals(Object that) |
KeyAlreadyExistsException._Fields |
fieldForId(int fieldId) |
String |
get_msg() |
Object |
getFieldValue(KeyAlreadyExistsException._Fields field) |
int |
hashCode() |
boolean |
is_set_msg()
Returns true if field msg is set (has been assigned a value) and false otherwise
|
boolean |
isSet(KeyAlreadyExistsException._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_msg_isSet(boolean value) |
void |
set_msg(String msg) |
void |
setFieldValue(KeyAlreadyExistsException._Fields field,
Object value) |
String |
toString() |
void |
unset_msg() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic static final Map<KeyAlreadyExistsException._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public KeyAlreadyExistsException()
public KeyAlreadyExistsException(String msg)
public KeyAlreadyExistsException(KeyAlreadyExistsException other)
Performs a deep copy on other.
public KeyAlreadyExistsException deepCopy()
deepCopy in interface org.apache.storm.thrift.TBase<KeyAlreadyExistsException,KeyAlreadyExistsException._Fields>public void clear()
clear in interface org.apache.storm.thrift.TBase<KeyAlreadyExistsException,KeyAlreadyExistsException._Fields>public String get_msg()
public void set_msg(String msg)
public void unset_msg()
public boolean is_set_msg()
Returns true if field msg is set (has been assigned a value) and false otherwise
public void set_msg_isSet(boolean value)
public void setFieldValue(KeyAlreadyExistsException._Fields field, Object value)
setFieldValue in interface org.apache.storm.thrift.TBase<KeyAlreadyExistsException,KeyAlreadyExistsException._Fields>public Object getFieldValue(KeyAlreadyExistsException._Fields field)
getFieldValue in interface org.apache.storm.thrift.TBase<KeyAlreadyExistsException,KeyAlreadyExistsException._Fields>public boolean isSet(KeyAlreadyExistsException._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<KeyAlreadyExistsException,KeyAlreadyExistsException._Fields>public boolean equals(KeyAlreadyExistsException that)
public int compareTo(KeyAlreadyExistsException other)
compareTo in interface Comparable<KeyAlreadyExistsException>public KeyAlreadyExistsException._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.storm.thrift.TBase<KeyAlreadyExistsException,KeyAlreadyExistsException._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.