public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetStatusCode()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'statusCode' is unset! Struct:" + toString()); } // check for sub-struct validity }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetStatusCode()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'statusCode' is unset! Struct:" + toString()); } // check for sub-struct validity }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetStatusCode()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'statusCode' is unset! Struct:" + toString()); } // check for sub-struct validity }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetStatusCode()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'statusCode' is unset! Struct:" + toString()); } // check for sub-struct validity }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_statusCode = true && (isSetStatusCode()); builder.append(present_statusCode); if (present_statusCode) builder.append(statusCode.getValue()); boolean present_infoMessages = true && (isSetInfoMessages()); builder.append(present_infoMessages); if (present_infoMessages) builder.append(infoMessages); boolean present_sqlState = true && (isSetSqlState()); builder.append(present_sqlState); if (present_sqlState) builder.append(sqlState); boolean present_errorCode = true && (isSetErrorCode()); builder.append(present_errorCode); if (present_errorCode) builder.append(errorCode); boolean present_errorMessage = true && (isSetErrorMessage()); builder.append(present_errorMessage); if (present_errorMessage) builder.append(errorMessage); return builder.toHashCode(); }
/** * Performs a deep copy on <i>other</i>. */ public TStatus(TStatus other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetStatusCode()) { this.statusCode = other.statusCode; } if (other.isSetInfoMessages()) { List<String> __this__infoMessages = new ArrayList<String>(); for (String other_element : other.infoMessages) { __this__infoMessages.add(other_element); } this.infoMessages = __this__infoMessages; } if (other.isSetSqlState()) { this.sqlState = other.sqlState; } this.errorCode = other.errorCode; if (other.isSetErrorMessage()) { this.errorMessage = other.errorMessage; } }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_statusCode = true && (isSetStatusCode()); builder.append(present_statusCode); if (present_statusCode) builder.append(statusCode.getValue()); boolean present_infoMessages = true && (isSetInfoMessages()); builder.append(present_infoMessages); if (present_infoMessages) builder.append(infoMessages); boolean present_sqlState = true && (isSetSqlState()); builder.append(present_sqlState); if (present_sqlState) builder.append(sqlState); boolean present_errorCode = true && (isSetErrorCode()); builder.append(present_errorCode); if (present_errorCode) builder.append(errorCode); boolean present_errorMessage = true && (isSetErrorMessage()); builder.append(present_errorMessage); if (present_errorMessage) builder.append(errorMessage); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_statusCode = true && (isSetStatusCode()); builder.append(present_statusCode); if (present_statusCode) builder.append(statusCode.getValue()); boolean present_infoMessages = true && (isSetInfoMessages()); builder.append(present_infoMessages); if (present_infoMessages) builder.append(infoMessages); boolean present_sqlState = true && (isSetSqlState()); builder.append(present_sqlState); if (present_sqlState) builder.append(sqlState); boolean present_errorCode = true && (isSetErrorCode()); builder.append(present_errorCode); if (present_errorCode) builder.append(errorCode); boolean present_errorMessage = true && (isSetErrorMessage()); builder.append(present_errorMessage); if (present_errorMessage) builder.append(errorMessage); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_statusCode = true && (isSetStatusCode()); builder.append(present_statusCode); if (present_statusCode) builder.append(statusCode.getValue()); boolean present_infoMessages = true && (isSetInfoMessages()); builder.append(present_infoMessages); if (present_infoMessages) builder.append(infoMessages); boolean present_sqlState = true && (isSetSqlState()); builder.append(present_sqlState); if (present_sqlState) builder.append(sqlState); boolean present_errorCode = true && (isSetErrorCode()); builder.append(present_errorCode); if (present_errorCode) builder.append(errorCode); boolean present_errorMessage = true && (isSetErrorMessage()); builder.append(present_errorMessage); if (present_errorMessage) builder.append(errorMessage); return builder.toHashCode(); }
/** * Performs a deep copy on <i>other</i>. */ public TStatus(TStatus other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetStatusCode()) { this.statusCode = other.statusCode; } if (other.isSetInfoMessages()) { List<String> __this__infoMessages = new ArrayList<String>(); for (String other_element : other.infoMessages) { __this__infoMessages.add(other_element); } this.infoMessages = __this__infoMessages; } if (other.isSetSqlState()) { this.sqlState = other.sqlState; } this.errorCode = other.errorCode; if (other.isSetErrorMessage()) { this.errorMessage = other.errorMessage; } }
/** * Performs a deep copy on <i>other</i>. */ public TStatus(TStatus other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetStatusCode()) { this.statusCode = other.statusCode; } if (other.isSetInfoMessages()) { List<String> __this__infoMessages = new ArrayList<String>(); for (String other_element : other.infoMessages) { __this__infoMessages.add(other_element); } this.infoMessages = __this__infoMessages; } if (other.isSetSqlState()) { this.sqlState = other.sqlState; } this.errorCode = other.errorCode; if (other.isSetErrorMessage()) { this.errorMessage = other.errorMessage; } }
/** * Performs a deep copy on <i>other</i>. */ public TStatus(TStatus other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetStatusCode()) { this.statusCode = other.statusCode; } if (other.isSetInfoMessages()) { List<String> __this__infoMessages = new ArrayList<String>(); for (String other_element : other.infoMessages) { __this__infoMessages.add(other_element); } this.infoMessages = __this__infoMessages; } if (other.isSetSqlState()) { this.sqlState = other.sqlState; } this.errorCode = other.errorCode; if (other.isSetErrorMessage()) { this.errorMessage = other.errorMessage; } }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case STATUS_CODE: return isSetStatusCode(); case INFO_MESSAGES: return isSetInfoMessages(); case SQL_STATE: return isSetSqlState(); case ERROR_CODE: return isSetErrorCode(); case ERROR_MESSAGE: return isSetErrorMessage(); } throw new IllegalStateException(); }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case STATUS_CODE: return isSetStatusCode(); case INFO_MESSAGES: return isSetInfoMessages(); case SQL_STATE: return isSetSqlState(); case ERROR_CODE: return isSetErrorCode(); case ERROR_MESSAGE: return isSetErrorMessage(); } throw new IllegalStateException(); }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case STATUS_CODE: return isSetStatusCode(); case INFO_MESSAGES: return isSetInfoMessages(); case SQL_STATE: return isSetSqlState(); case ERROR_CODE: return isSetErrorCode(); case ERROR_MESSAGE: return isSetErrorMessage(); } throw new IllegalStateException(); }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case STATUS_CODE: return isSetStatusCode(); case INFO_MESSAGES: return isSetInfoMessages(); case SQL_STATE: return isSetSqlState(); case ERROR_CODE: return isSetErrorCode(); case ERROR_MESSAGE: return isSetErrorMessage(); } throw new IllegalStateException(); }
return false; boolean this_present_statusCode = true && this.isSetStatusCode(); boolean that_present_statusCode = true && that.isSetStatusCode(); if (this_present_statusCode || that_present_statusCode) { if (!(this_present_statusCode && that_present_statusCode))
return false; boolean this_present_statusCode = true && this.isSetStatusCode(); boolean that_present_statusCode = true && that.isSetStatusCode(); if (this_present_statusCode || that_present_statusCode) { if (!(this_present_statusCode && that_present_statusCode))
return false; boolean this_present_statusCode = true && this.isSetStatusCode(); boolean that_present_statusCode = true && that.isSetStatusCode(); if (this_present_statusCode || that_present_statusCode) { if (!(this_present_statusCode && that_present_statusCode))
return false; boolean this_present_statusCode = true && this.isSetStatusCode(); boolean that_present_statusCode = true && that.isSetStatusCode(); if (this_present_statusCode || that_present_statusCode) { if (!(this_present_statusCode && that_present_statusCode))