public static class DataCollectionService.push_result extends java.lang.Object implements org.apache.thrift.TBase<DataCollectionService.push_result,DataCollectionService.push_result._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<DataCollectionService.push_result>
| Modifier and Type | Class and Description |
|---|---|
static class |
DataCollectionService.push_result._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
OpenSearchClientException |
e |
OpenSearchException |
error |
static java.util.Map<DataCollectionService.push_result._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
OpenSearchResult |
success |
| Constructor and Description |
|---|
push_result() |
push_result(DataCollectionService.push_result other)
Performs a deep copy on other.
|
push_result(OpenSearchResult success,
OpenSearchException error,
OpenSearchClientException e) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(DataCollectionService.push_result other) |
DataCollectionService.push_result |
deepCopy() |
boolean |
equals(DataCollectionService.push_result that) |
boolean |
equals(java.lang.Object that) |
DataCollectionService.push_result._Fields |
fieldForId(int fieldId) |
OpenSearchClientException |
getE() |
OpenSearchException |
getError() |
java.lang.Object |
getFieldValue(DataCollectionService.push_result._Fields field) |
OpenSearchResult |
getSuccess() |
int |
hashCode() |
boolean |
isSet(DataCollectionService.push_result._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetE()
Returns true if field e is set (has been assigned a value) and false otherwise
|
boolean |
isSetError()
Returns true if field error is set (has been assigned a value) and false otherwise
|
boolean |
isSetSuccess()
Returns true if field success is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
DataCollectionService.push_result |
setE(OpenSearchClientException e) |
void |
setEIsSet(boolean value) |
DataCollectionService.push_result |
setError(OpenSearchException error) |
void |
setErrorIsSet(boolean value) |
void |
setFieldValue(DataCollectionService.push_result._Fields field,
java.lang.Object value) |
DataCollectionService.push_result |
setSuccess(OpenSearchResult success) |
void |
setSuccessIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetE() |
void |
unsetError() |
void |
unsetSuccess() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public OpenSearchResult success
public OpenSearchException error
public OpenSearchClientException e
public static final java.util.Map<DataCollectionService.push_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public push_result()
public push_result(OpenSearchResult success, OpenSearchException error, OpenSearchClientException e)
public push_result(DataCollectionService.push_result other)
public DataCollectionService.push_result deepCopy()
deepCopy in interface org.apache.thrift.TBase<DataCollectionService.push_result,DataCollectionService.push_result._Fields>public void clear()
clear in interface org.apache.thrift.TBase<DataCollectionService.push_result,DataCollectionService.push_result._Fields>public OpenSearchResult getSuccess()
public DataCollectionService.push_result setSuccess(OpenSearchResult success)
public void unsetSuccess()
public boolean isSetSuccess()
public void setSuccessIsSet(boolean value)
public OpenSearchException getError()
public DataCollectionService.push_result setError(OpenSearchException error)
public void unsetError()
public boolean isSetError()
public void setErrorIsSet(boolean value)
public OpenSearchClientException getE()
public DataCollectionService.push_result setE(OpenSearchClientException e)
public void unsetE()
public boolean isSetE()
public void setEIsSet(boolean value)
public void setFieldValue(DataCollectionService.push_result._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<DataCollectionService.push_result,DataCollectionService.push_result._Fields>public java.lang.Object getFieldValue(DataCollectionService.push_result._Fields field)
getFieldValue in interface org.apache.thrift.TBase<DataCollectionService.push_result,DataCollectionService.push_result._Fields>public boolean isSet(DataCollectionService.push_result._Fields field)
isSet in interface org.apache.thrift.TBase<DataCollectionService.push_result,DataCollectionService.push_result._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(DataCollectionService.push_result that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(DataCollectionService.push_result other)
compareTo in interface java.lang.Comparable<DataCollectionService.push_result>public DataCollectionService.push_result._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<DataCollectionService.push_result,DataCollectionService.push_result._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<DataCollectionService.push_result,DataCollectionService.push_result._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<DataCollectionService.push_result,DataCollectionService.push_result._Fields>org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2023. All Rights Reserved.