@Generated(value="Autogenerated by Thrift Compiler (0.11.0)", date="2019-01-29") public class TProtocolVersionTestResult extends java.lang.Object implements org.apache.thrift.TBase<TProtocolVersionTestResult,TProtocolVersionTestResult._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<TProtocolVersionTestResult>
Modifier and Type | Class and Description |
---|---|
static class |
TProtocolVersionTestResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
message |
static java.util.Map<TProtocolVersionTestResult._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
boolean |
serverBigEndian |
java.lang.String |
serverProtocolVersion |
boolean |
supported |
Constructor and Description |
---|
TProtocolVersionTestResult() |
TProtocolVersionTestResult(boolean supported,
java.lang.String serverProtocolVersion,
boolean serverBigEndian) |
TProtocolVersionTestResult(TProtocolVersionTestResult other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TProtocolVersionTestResult other) |
TProtocolVersionTestResult |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(TProtocolVersionTestResult that) |
TProtocolVersionTestResult._Fields |
fieldForId(int fieldId) |
java.lang.Object |
getFieldValue(TProtocolVersionTestResult._Fields field) |
java.lang.String |
getMessage() |
java.lang.String |
getServerProtocolVersion() |
int |
hashCode() |
boolean |
isServerBigEndian() |
boolean |
isSet(TProtocolVersionTestResult._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetMessage()
Returns true if field message is set (has been assigned a value) and false otherwise
|
boolean |
isSetServerBigEndian()
Returns true if field serverBigEndian is set (has been assigned a value) and false otherwise
|
boolean |
isSetServerProtocolVersion()
Returns true if field serverProtocolVersion is set (has been assigned a value) and false otherwise
|
boolean |
isSetSupported()
Returns true if field supported is set (has been assigned a value) and false otherwise
|
boolean |
isSupported() |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TProtocolVersionTestResult._Fields field,
java.lang.Object value) |
TProtocolVersionTestResult |
setMessage(java.lang.String message) |
void |
setMessageIsSet(boolean value) |
TProtocolVersionTestResult |
setServerBigEndian(boolean serverBigEndian) |
void |
setServerBigEndianIsSet(boolean value) |
TProtocolVersionTestResult |
setServerProtocolVersion(java.lang.String serverProtocolVersion) |
void |
setServerProtocolVersionIsSet(boolean value) |
TProtocolVersionTestResult |
setSupported(boolean supported) |
void |
setSupportedIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetMessage() |
void |
unsetServerBigEndian() |
void |
unsetServerProtocolVersion() |
void |
unsetSupported() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public boolean supported
public java.lang.String serverProtocolVersion
public boolean serverBigEndian
public java.lang.String message
public static final java.util.Map<TProtocolVersionTestResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TProtocolVersionTestResult()
public TProtocolVersionTestResult(boolean supported, java.lang.String serverProtocolVersion, boolean serverBigEndian)
public TProtocolVersionTestResult(TProtocolVersionTestResult other)
public TProtocolVersionTestResult deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TProtocolVersionTestResult,TProtocolVersionTestResult._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TProtocolVersionTestResult,TProtocolVersionTestResult._Fields>
public boolean isSupported()
public TProtocolVersionTestResult setSupported(boolean supported)
public void unsetSupported()
public boolean isSetSupported()
public void setSupportedIsSet(boolean value)
public java.lang.String getServerProtocolVersion()
public TProtocolVersionTestResult setServerProtocolVersion(java.lang.String serverProtocolVersion)
public void unsetServerProtocolVersion()
public boolean isSetServerProtocolVersion()
public void setServerProtocolVersionIsSet(boolean value)
public boolean isServerBigEndian()
public TProtocolVersionTestResult setServerBigEndian(boolean serverBigEndian)
public void unsetServerBigEndian()
public boolean isSetServerBigEndian()
public void setServerBigEndianIsSet(boolean value)
public java.lang.String getMessage()
public TProtocolVersionTestResult setMessage(java.lang.String message)
public void unsetMessage()
public boolean isSetMessage()
public void setMessageIsSet(boolean value)
public void setFieldValue(TProtocolVersionTestResult._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<TProtocolVersionTestResult,TProtocolVersionTestResult._Fields>
public java.lang.Object getFieldValue(TProtocolVersionTestResult._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TProtocolVersionTestResult,TProtocolVersionTestResult._Fields>
public boolean isSet(TProtocolVersionTestResult._Fields field)
isSet
in interface org.apache.thrift.TBase<TProtocolVersionTestResult,TProtocolVersionTestResult._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(TProtocolVersionTestResult that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(TProtocolVersionTestResult other)
compareTo
in interface java.lang.Comparable<TProtocolVersionTestResult>
public TProtocolVersionTestResult._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TProtocolVersionTestResult,TProtocolVersionTestResult._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright (c) 2016, 2019 Oracle and/or its affiliates. All rights reserved.