@SuppressWarnings("unchecked")
  public Message convert(T thriftObj) {
    return doConvert((TBase<?, ?>)
                     Preconditions.checkNotNull(thriftObj, "Can not convert a null object"));
  }
@SuppressWarnings("unchecked")
  public Message convert(T thriftObj) {
    return doConvert((TBase<?, ?>)
                     Preconditions.checkNotNull(thriftObj, "Can not convert a null object"));
  }
@ SuppressWarnings ( "unchecked" ) public Message convert ( T thriftObj ) { return doConvert ( ( TBase < ? , ? > ) Preconditions . checkNotNull ( thriftObj , "Can not convert a null object" ) ) ; }
Convert a thrift object to a protobuf message.
@param thriftObj thrift object
@return protobuf protobuf message
Convert a thrift object to a protobuf message .