public Builder mergeFrom(com.dremio.exec.proto.UserProtos.CreatePreparedStatementResp other) { if (other == com.dremio.exec.proto.UserProtos.CreatePreparedStatementResp.getDefaultInstance()) return this; if (other.hasStatus()) { setStatus(other.getStatus()); } if (other.hasPreparedStatement()) { mergePreparedStatement(other.getPreparedStatement()); } if (other.hasError()) { mergeError(other.getError()); } if (other.hasQueryId()) { mergeQueryId(other.getQueryId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public void writeTo(io.protostuff.Output output, com.dremio.exec.proto.UserProtos.CreatePreparedStatementResp message) throws java.io.IOException { if(message.hasStatus()) output.writeEnum(1, message.getStatus().getNumber(), false); if(message.hasPreparedStatement()) output.writeObject(2, message.getPreparedStatement(), com.dremio.exec.proto.SchemaUserProtos.PreparedStatement.WRITE, false); if(message.hasError()) output.writeObject(3, message.getError(), com.dremio.exec.proto.SchemaUserBitShared.DremioPBError.WRITE, false); if(message.hasQueryId()) output.writeObject(13, message.getQueryId(), com.dremio.exec.proto.SchemaUserBitShared.QueryId.WRITE, false); } public boolean isInitialized(com.dremio.exec.proto.UserProtos.CreatePreparedStatementResp message)