Package com.uber.cadence
Class QueryWorkflowResponse
- java.lang.Object
-
- com.uber.cadence.QueryWorkflowResponse
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<QueryWorkflowResponse>
,org.apache.thrift.TBase<QueryWorkflowResponse,QueryWorkflowResponse._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-01-06") public class QueryWorkflowResponse extends java.lang.Object implements org.apache.thrift.TBase<QueryWorkflowResponse,QueryWorkflowResponse._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<QueryWorkflowResponse>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QueryWorkflowResponse._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static java.util.Map<QueryWorkflowResponse._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
QueryRejected
queryRejected
java.nio.ByteBuffer
queryResult
-
Constructor Summary
Constructors Constructor Description QueryWorkflowResponse()
QueryWorkflowResponse(QueryWorkflowResponse other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffer
bufferForQueryResult()
void
clear()
int
compareTo(QueryWorkflowResponse other)
QueryWorkflowResponse
deepCopy()
boolean
equals(QueryWorkflowResponse that)
boolean
equals(java.lang.Object that)
QueryWorkflowResponse._Fields
fieldForId(int fieldId)
java.lang.Object
getFieldValue(QueryWorkflowResponse._Fields field)
QueryRejected
getQueryRejected()
byte[]
getQueryResult()
int
hashCode()
boolean
isSet(QueryWorkflowResponse._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetQueryRejected()
Returns true if field queryRejected is set (has been assigned a value) and false otherwiseboolean
isSetQueryResult()
Returns true if field queryResult is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
void
setFieldValue(QueryWorkflowResponse._Fields field, java.lang.Object value)
QueryWorkflowResponse
setQueryRejected(QueryRejected queryRejected)
void
setQueryRejectedIsSet(boolean value)
QueryWorkflowResponse
setQueryResult(byte[] queryResult)
QueryWorkflowResponse
setQueryResult(java.nio.ByteBuffer queryResult)
void
setQueryResultIsSet(boolean value)
java.lang.String
toString()
void
unsetQueryRejected()
void
unsetQueryResult()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
queryResult
public java.nio.ByteBuffer queryResult
-
queryRejected
public QueryRejected queryRejected
-
metaDataMap
public static final java.util.Map<QueryWorkflowResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
QueryWorkflowResponse
public QueryWorkflowResponse()
-
QueryWorkflowResponse
public QueryWorkflowResponse(QueryWorkflowResponse other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public QueryWorkflowResponse deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<QueryWorkflowResponse,QueryWorkflowResponse._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<QueryWorkflowResponse,QueryWorkflowResponse._Fields>
-
getQueryResult
public byte[] getQueryResult()
-
bufferForQueryResult
public java.nio.ByteBuffer bufferForQueryResult()
-
setQueryResult
public QueryWorkflowResponse setQueryResult(byte[] queryResult)
-
setQueryResult
public QueryWorkflowResponse setQueryResult(java.nio.ByteBuffer queryResult)
-
unsetQueryResult
public void unsetQueryResult()
-
isSetQueryResult
public boolean isSetQueryResult()
Returns true if field queryResult is set (has been assigned a value) and false otherwise
-
setQueryResultIsSet
public void setQueryResultIsSet(boolean value)
-
getQueryRejected
public QueryRejected getQueryRejected()
-
setQueryRejected
public QueryWorkflowResponse setQueryRejected(QueryRejected queryRejected)
-
unsetQueryRejected
public void unsetQueryRejected()
-
isSetQueryRejected
public boolean isSetQueryRejected()
Returns true if field queryRejected is set (has been assigned a value) and false otherwise
-
setQueryRejectedIsSet
public void setQueryRejectedIsSet(boolean value)
-
setFieldValue
public void setFieldValue(QueryWorkflowResponse._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<QueryWorkflowResponse,QueryWorkflowResponse._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(QueryWorkflowResponse._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<QueryWorkflowResponse,QueryWorkflowResponse._Fields>
-
isSet
public boolean isSet(QueryWorkflowResponse._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.thrift.TBase<QueryWorkflowResponse,QueryWorkflowResponse._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(QueryWorkflowResponse that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(QueryWorkflowResponse other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<QueryWorkflowResponse>
-
fieldForId
public QueryWorkflowResponse._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<QueryWorkflowResponse,QueryWorkflowResponse._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<QueryWorkflowResponse,QueryWorkflowResponse._Fields>
- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
- Specified by:
write
in interfaceorg.apache.thrift.TBase<QueryWorkflowResponse,QueryWorkflowResponse._Fields>
- Throws:
org.apache.thrift.TException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-