@Generated(value="Autogenerated by Thrift Compiler (0.9.3)",
date="2018-08-17")
public class OpenSearchException
extends org.apache.thrift.TException
implements org.apache.thrift.TBase<OpenSearchException,OpenSearchException._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<OpenSearchException>
| Modifier and Type | Class and Description |
|---|---|
static class |
OpenSearchException._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<OpenSearchException._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
OpenSearchException() |
OpenSearchException(OpenSearchException other) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(OpenSearchException other) |
OpenSearchException |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(OpenSearchException that) |
OpenSearchException._Fields |
fieldForId(int fieldId) |
int |
getCode() |
java.lang.Object |
getFieldValue(OpenSearchException._Fields field) |
java.lang.String |
getMessage() |
java.lang.String |
getRequestId() |
int |
hashCode() |
boolean |
isSet(OpenSearchException._Fields field) |
boolean |
isSetCode() |
boolean |
isSetMessage() |
boolean |
isSetRequestId() |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
OpenSearchException |
setCode(int code) |
void |
setCodeIsSet(boolean value) |
void |
setFieldValue(OpenSearchException._Fields field,
java.lang.Object value) |
OpenSearchException |
setMessage(java.lang.String message) |
void |
setMessageIsSet(boolean value) |
OpenSearchException |
setRequestId(java.lang.String requestId) |
void |
setRequestIdIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetCode() |
void |
unsetMessage() |
void |
unsetRequestId() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<OpenSearchException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public OpenSearchException()
public OpenSearchException(OpenSearchException other)
public OpenSearchException deepCopy()
deepCopy in interface org.apache.thrift.TBase<OpenSearchException,OpenSearchException._Fields>public void clear()
clear in interface org.apache.thrift.TBase<OpenSearchException,OpenSearchException._Fields>public int getCode()
public OpenSearchException setCode(int code)
public void unsetCode()
public boolean isSetCode()
public void setCodeIsSet(boolean value)
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic OpenSearchException setMessage(java.lang.String message)
public void unsetMessage()
public boolean isSetMessage()
public void setMessageIsSet(boolean value)
public java.lang.String getRequestId()
public OpenSearchException setRequestId(java.lang.String requestId)
public void unsetRequestId()
public boolean isSetRequestId()
public void setRequestIdIsSet(boolean value)
public void setFieldValue(OpenSearchException._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<OpenSearchException,OpenSearchException._Fields>public java.lang.Object getFieldValue(OpenSearchException._Fields field)
getFieldValue in interface org.apache.thrift.TBase<OpenSearchException,OpenSearchException._Fields>public boolean isSet(OpenSearchException._Fields field)
isSet in interface org.apache.thrift.TBase<OpenSearchException,OpenSearchException._Fields>field - fieldpublic boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(OpenSearchException that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(OpenSearchException other)
compareTo in interface java.lang.Comparable<OpenSearchException>public OpenSearchException._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<OpenSearchException,OpenSearchException._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<OpenSearchException,OpenSearchException._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<OpenSearchException,OpenSearchException._Fields>org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Throwablepublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2023. All Rights Reserved.